Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/codingforentrepreneurs/Web-Scraping

Learn how to leverage Python's amazing tools to scrape data from other websites. The end goal of this course is to scrape blogs to analyze trending keywords and phrases. We'll be using Python 3.6, Requests, BeautifulSoup, Asyncio, Pandas, Numpy, and more!
https://github.com/codingforentrepreneurs/Web-Scraping

aysncio beautifulsoup beautifulsoup4 joincfe numpy pandas python python-requests python3 requests scraper sraping tutorial web-scraping

Last synced: 3 months ago
JSON representation

Learn how to leverage Python's amazing tools to scrape data from other websites. The end goal of this course is to scrape blogs to analyze trending keywords and phrases. We'll be using Python 3.6, Requests, BeautifulSoup, Asyncio, Pandas, Numpy, and more!

Awesome Lists containing this project

README

        

[![Web Scraping Logo](https://cfe2-static.s3-us-west-2.amazonaws.com/media/courses/web-scraping/images/Web-Scraping.jpg)](https://www.codingforentrepreneurs.com/courses/web-scraping/)

Learn how to leverage Python's amazing tools to scrape data from other websites.

The end goal of this course is to scrape blogs to analyze trending keywords and phrases.

We'll be using Python 3.6, Requests, BeautifulSoup, Asyncio, Pandas, Numpy, and more!

## Section 1: [Your First Scraping Program](https://www.codingforentrepreneurs.com/courses/web-scraping/your-first-scraping-program/)
Watch [here](https://www.codingforentrepreneurs.com/courses/web-scraping/your-first-scraping-program/)

Final code is [first-web-scraping-program.zip](./first-web-scraping-program.zip)

#### Install Guides
Windows: https://kirr.co/6r8wr9

Mac: https://kirr.co/386c7f

Linux: https://kirr.co/c3uvuu

#### Goals of Your First Scraping Program:

1. Enter any url (webpage)
2. Open and scrape that webpage's words each word
3. Save that info into a csv

###### Third party Packages

- Python Requests : http://docs.python-requests.org/en/master/

```
pip install requests
```
Basically, it opens the webpage for us in this one.

- BeautifulSoup 4 : https://www.crummy.com/software/BeautifulSoup/bs4/doc/

```
pip install beautifulsoup4
```
This allows us to search & extract content from an HTML webpage

## Section 2: [Advancing Scraping](https://www.codingforentrepreneurs.com/courses/web-scraping/advancing-scraping/)

#### Goals of Advancing Scraping:
1. Refine scraping code
2. Scrape Links
3. Add Scrape Depth
4. Scrape & Parse words in a Post

[1 - Welcome](../../tree/118bda3462c7452a828702f3e13a573aa5d28b4a/)

[2 - Get URL Input](../../tree/118bda3462c7452a828702f3e13a573aa5d28b4a/)

[3 - Regular Expression Validation](../../tree/2523039e67cf91ed6552dc31fcc2240b2be30c58/)

[4 - Force Quit Program](../../tree/72c74d214655642bb442e6391a09ca6ab57e1e59/)

[5 - Usability](../../tree/d583c77c7013c0399f51e8052d9c9a1bc0ab044e/)

[6 - Fetch URL](../../tree/38506bc8d45722df18087c624f3910bfc6b61f23/)

[7 - Soupify](../../tree/6b6d4a7d384d49f1f7d69ad1beb6317f8547a99b/)

[8 - Extract Data](../../tree/6fc67c4e424ca64600813dd8a4b16916186e149e/)

[9 - Parse Links](../../tree/beb8beef00da709310267c6e6b94c67f71540b93/)

[10 - Get Local Paths](../../tree/056f95c20c4fc447ff840178dff9abe1cc973880/)

[11 - Local Paths by Regular Expression](../../tree/9909d19a9e2bc2b6934bf571253a3661158ed417/)

[12 - Some Lookup Errors](../../tree/32b91cc58332a01b57406453c5802368f25d6f1c/)

[13 - Scrape Local Paths](../../tree/b6da1d3b02148099514ff8446e0fe535f140a030/)

[14 - Parse Words](../../tree/3a808719fd2f343a9a2e279d65a5d71826d40c30/)

[15 - Python Set](../../tree/2bd7b5fc47cd9d4dddb38b0c63b236e2069845d3/)

[16 - A Recursive Function](../../tree/8bae867a8a89d851333a6ab13aa46f4ba2f76930/)

[17 - Mock Fetching](../../tree/898d69d8e6edab45f266c848b9907192546c5e06/)

[18 - All together](../../tree/fa8de79f2bc4cce3142ff3254ec4aa415eb824d4/)

## Section 3: [Asyncio & Web Scraping](https://www.codingforentrepreneurs.com/courses/web-scraping/asyncio-web-scraping/)
_code coming soon_