For populating personal database. Able to scrape all movies from IMDb chart page like top 250 movies and other pages with similar html structure.
- Change the url link of
source = requests.get('https://www.imdb.com/chart/top/')
inimdb_scraper.py
to any of other charts (e.g. Most Popular Movies or Most Popular TV) - Change the output csv file name as desired
- Run
python3 imdb_scraper.py
(Mac) andpython imdb_scraper.py
(Windows)