Skip to content

lnros/top-250-imdb-movies-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Scraping IMDB's Top 250 movies

Author: Leonardo N. Rosenberg | @lnros

Comparing time efficiency of requests and grequests

Checking how handling concurrency well can improve time efficiency in your code using web scraping as an example.

This code extracts title and director's name for each movie using both methods and compares their execution time.

The webpage used for scraping is: https://www.imdb.com/chart/top?ref_=nv_mv_250.

Usage

From the command line

$ python main.py