Love the walk-through, great warm up for web scraping.
I found an error with the instance call for scrape_page_data().
By editing the:
5: scrape = scrape_page_metadata()
to:
5: scrape = scrape_page_metadata
the scrape object will properly initialize with the url variable from config in line 8.
TypeError: scrape_page_metadata() missing 1 required positional argument: 'url'
Love the walk-through, great warm up for web scraping.
I found an error with the instance call for scrape_page_data().
By editing the:
5: scrape = scrape_page_metadata()
to:
5: scrape = scrape_page_metadata
the scrape object will properly initialize with the url variable from config in line 8.
TypeError: scrape_page_metadata() missing 1 required positional argument: 'url'