Skip to content

Instantly share code, notes, and snippets.

View kashaziz's full-sized avatar
💭
Contemplating the next Big Idea ...

Kashif Aziz kashaziz

💭
Contemplating the next Big Idea ...
View GitHub Profile
@kashaziz
kashaziz / scrapingexample.py
Last active February 18, 2025 21:18
Example of web scraping using Python and BeautifulSoup.
'''
Example of web scraping using Python and BeautifulSoup.
Sraping ESPN College Football data
http://www.espn.com/college-sports/football/recruiting/databaseresults/_/sportid/24/class/2006/sort/school/starsfilter/GT/ratingfilter/GT/statuscommit/Commitments/statusuncommit/Uncommited
The script will loop through a defined number of pages to extract footballer data.
'''
from bs4 import BeautifulSoup