Category "beautifulsoup"

Scrape information off a complicated table

I need to scrape data off the seasons stats table of this website: https://fantasy.espn.com/basketball/league/standings?leagueId=1878319 I need to scrape data o

Getting style attribute using BeautifulSoup

I'm scraping a page and from a table on that page I'm getting all <tr> elements like so: r = requests.get("http://lol.esportswikis.com/wiki/G2_Esports/Ma

Find a specific tag with BeautifulSoup

I can traverse generic tags easily with BS, but I don't know how to find specific tags. For example, how can I find all occurances of <div style="width=300px