git
ask
hub
Privacy
Terms
Sign in with GitHub
amathguywhocodes/day-45-100-movies-to-watch
↗
Language ·
Python
Simplify and Visualize This Repo
Scan the safety of this repo
Self Host this repo
Check out more work of Developer: amathguywhocodes
Ask anything about this repo to start.
Write a Python script that uses requests and BeautifulSoup to scrape the archived May 2020 Empire top 100 movies page and save the titles in ascending order to movies.txt.
Adapt the scraper to also work on a Timeout or Stacker best-movies list with minimal selector changes.
Add a small test that asserts movies.txt has 100 lines and the first line is The Godfather.
Refactor the scraper into a function that takes an archived URL and an output filename.
Walk me through which BeautifulSoup selectors to use to pull the titles from the archived Empire page.
Full explanation on explaingit →
📎
Send
By chatting or signing in you agree to the
Terms
and chat-message logging (revocable in
History
).