diff --git a/script.py b/script.py index 64373c9..feadb5e 100644 --- a/script.py +++ b/script.py @@ -5,10 +5,10 @@ "https://codedamn-classrooms.github.io/webscraper-python-codedamn-classroom-website/") soup = BeautifulSoup(page.content, 'html.parser') -# Create top_items as empty list +# Create all_links as empty list all_links = [] -# Extract and store in top_items according to instructions on the left +# Extract and store in all_links according to instructions on the left links = soup.select('a') for ahref in links: text = ahref.text