DEV Community

Discussion on: 30 Days of Python 👨‍💻 - Day 23 - Web Scraping

Collapse
 
mantasbacys profile image
mantasbacys • Edited

For "loop though all links" part I get a "NameError: name 'popular_posts' is not defined", if I create an empty dictionary (or a list as was done in the final code block), then I get "AttributeError: 'dict' object has no attribute 'append'". Do you know what might be wrong? Thanks!