dlab-berkeley / Python-Web-Scraping-Legacy

D-Lab's 3 hour introduction to web scraping in Python. Learn how to use APIs and scrape data from websites using the New York Times API and BeautifulSoup in Python.
7 stars 3 forks source link

Remove statement in 2.4 Loop it all together #25

Open tomvannuenen opened 2 years ago

tomvannuenen commented 2 years ago

Can remove detail_cells = row.select('td.detail') in the loop as we have already selected these elements when setting the valid_rows variable