Skip to content

Aamir-Raza/imdb_scraping

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

IMDb Scraping with BeautifulSoup4 and Requests

Retrieve listing information for the given IMDb crew/cast link in the form of a dictionary with the title, role and release year of each entry. In case of a series, per ep info is not included.

Example usage:

python imdb_scraping.py nm6553571

Functions

process_page(page_id) : Retrieve listing information for the given IMDb crew link in the form of a dictionary with the title, role and release year of each entry.

returns defaultdict in the format title id: Name, Year, Info, Category

'tt2802850': ['Fargo',
                       '2017',
                       '(TV Series) (digital compositor - 1 episode)',
                       'Visual effects'],
'tt3065204': ['The Conjuring 2',
                       '2016',
                       '(digital compositor)',
                       'Visual effects']

External Libraries

  • bs4==0.0.1
  • requests==2.24.0

About

Scraping credits from IMDB.com

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages