Skip to main content

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

Release files for imdb-lib 0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for imdb-lib 0.3
File Size Uploaded
imdb_lib-0.3.tar.gz 5.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for imdb-lib 0.3
File Interpreter ABI Platform
imdb_lib-0.3-py3-none-any.whl Python 3 none any Details

Total release size: 10.9 kB

Release files / imdb_lib-0.3.tar.gz

Download URL imdb_lib-0.3.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
805e2a8a8545f8d167d81d5a2e56e8f9d62548d2cd43cec0f6c41748871c5591
BLAKE2b-256 checksum
How to use checksums
da432efbe41f15cdc5277ade4772b1138a56d25b0ed769da8801e8c3395ac7f5
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / imdb_lib-0.3-py3-none-any.whl

Download URL imdb_lib-0.3-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
16472abe354dd464cdd02f41a2969eb1ced31731ab7fbaaade8ce4c19e35f6f9
BLAKE2b-256 checksum
How to use checksums
6bc9920be8f313df5ff09fa99df34066a732399fc679df802fe3edefec5978d1
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.3 This release

2 release files

0.2

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page