data-science-from-scratch
data-science-from-scratch copied to clipboard
Y Combinator Scraping
The tags have changed and the page currently lists 137 companies.
I found the following worked:
companies = list({a.text
for a in soup("a")
if "company-name" in a.get("class", ())})
assert len(companies) == 137