Skip to main content

Web Scraping data from imdb website.

Project description

IMDB_LIB Package

The main purpose of this package is to give acess to imdb data by scraping the website.

Functionalities

Import statemant

httpIMDB is the main class that you'll be using for now (version 0.1). It is responsible for all available data that can be retrieved.

from imdb_lib.session import httpIMDB

imdb = httpIMDB()

httpIMDB.getPopularTVShows() and httpIMDB.getPopularMovies()

Scrape the top 100 most popular TV Shows/Movies according to the IMDB ranking

Returns a pandas dataframe with 100 rows and the following columns: Id,title, poster, rating

httpIMDB.getTopRatedTVShows() and httpIMDB.getTopRatedMovies()

Scrape the top 100 most popular TV Shows/Movies according to the IMDB ranking

Returns a pandas dataframe with 250 rows and the following columns: Id,title, poster, rating

httpIMDB.getTitleDetails(id)

Scrape the given title id for details

Returns a pandas dataframe with one row and the following columns: title, poster, sinapse, rating, popularity, genres, types, top_cast, runtime, duration

httpIMDB.searchTitle(title)

As the name suggests, it is used to search for a title by its name

Requires 1 parameter, the title to be searched

Returns a pandas dataframe with the following columns: Id and Title

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

imdb_lib-0.3.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

imdb_lib-0.3-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file imdb_lib-0.3.tar.gz.

File metadata

  • Download URL: imdb_lib-0.3.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for imdb_lib-0.3.tar.gz
Algorithm Hash digest
SHA256 805e2a8a8545f8d167d81d5a2e56e8f9d62548d2cd43cec0f6c41748871c5591
MD5 d649fb20c9169e3d03b3530da83793d7
BLAKE2b-256 da432efbe41f15cdc5277ade4772b1138a56d25b0ed769da8801e8c3395ac7f5

See more details on using hashes here.

File details

Details for the file imdb_lib-0.3-py3-none-any.whl.

File metadata

  • Download URL: imdb_lib-0.3-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for imdb_lib-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 16472abe354dd464cdd02f41a2969eb1ced31731ab7fbaaade8ce4c19e35f6f9
MD5 1e20790809d9328b278f505b17b1d819
BLAKE2b-256 6bc9920be8f313df5ff09fa99df34066a732399fc679df802fe3edefec5978d1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page