Skip to content

In-the-beginning-DataScientist/0.-Webscrapping-using-python

Repository files navigation

0.-Webscrapping-using-python

  1. Scraping Top Repositories for Topics on GitHub,
  2. Web scraping is the process of extracting and parsing data from websites in an automated fashion using a computer program. It's a useful technique for creating datasets for research and learning. Follow these steps to build a web scraping project from scratch using Python and its ecosystem of libraries:
  3. Pick a website and describe your objective
  4. Browse through different sites and pick on to scrape. Check the "Project Ideas" section for inspiration.
  5. Identify the information you'd like to scrape from the site. Decide the format of the output CSV file.
  6. Summarize your project idea and outline your strategy in a Juptyer notebook.
  7. Use the requests library to download web pages.
  8. Inspect the website's HTML source and identify the right URLs to download.
  9. Download and save web pages locally using the requests library.
  10. Create a function to automate downloading for different topics/search queries.
  11. Use Beautiful Soup to parse and extract information
  12. Parse and explore the structure of downloaded web pages using Beautiful soup.
  13. Use the right properties and methods to extract the required information.
  14. Create functions to extract from the page into lists and dictionaries.
  15. Use a REST API to acquire additional information if required.
  16. Create CSV file(s) with the extracted information.
  17. Create functions for the end-to-end process of downloading, parsing, and saving CSVs.
  18. Execute the function with different inputs to create a dataset of CSV files.
  19. Verify the information in the CSV files by reading them back using Pandas.
  20. Document and share your work
  21. Add proper headings and documentation in your Jupyter notebook.
  22. Write a blog post about your project and share it online.

About

Scraping Top Repositories for Topics on GitHub,

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published