Skip to main content

kimdb

Project description

kimdb

GitHub - last commit GitHub - commit activity GitHub - code size in bytes GitHub - repo size GitHub - lines of code GitHub - license PyPI - Python Version PyPI - Downloads

Description

IMDB scraper

Install

pip install kimdb
# or
pip3 install kimdb

Usage

from kimdb import IMDB

imdb = IMDB(debug=True)

top_movies = imdb.top_movies()
top_movies[0].jsonprint()

top_series = imdb.top_series()
top_series[0].jsonprint()

most_popular_movies = imdb.most_popular_movies()
most_popular_movies[0].jsonprint()

most_popular_series = imdb.most_popular_movies()
most_popular_series[0].jsonprint()

title = imdb.get_title(top_movies[0].id)
title.jsonprint()

list = imdb.get_list(title.lists[0].id)
list.jsonprint()

user = imdb.get_user(list.owner.id)
user.jsonprint()

name = imdb.get_name(title.actors[0].id)
name.jsonprint()

Dependencies

beautifulsoup4, jsoncodable, kcu, ksimpleapi, noraise, requests

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

kimdb-0.0.14.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

kimdb-0.0.14-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

Details for the file kimdb-0.0.14.tar.gz.

File metadata

  • Download URL: kimdb-0.0.14.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.25.0 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.9

File hashes

Hashes for kimdb-0.0.14.tar.gz
Algorithm Hash digest
SHA256 83dcee4c9bc711915561626ecae2b478d60cbd760b7fccd012aca189ae61005a
MD5 955333fbf38be29c6c462ebb00880a35
BLAKE2b-256 2c4f704a1d5c2e831318938d73b5b559cd4d2e63cdf8366b1bb0b5875244aa8b

See more details on using hashes here.

File details

Details for the file kimdb-0.0.14-py3-none-any.whl.

File metadata

  • Download URL: kimdb-0.0.14-py3-none-any.whl
  • Upload date:
  • Size: 11.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.25.0 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.9

File hashes

Hashes for kimdb-0.0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 7b46d7d7ddc4bc80c91a0c7f1dbdb120480647f50182e8832798a26107572357
MD5 a681394731fe5456be8610ad9fd5da02
BLAKE2b-256 1a144cdb03b5a0330969251ed03d60dc2057e68f903f249853a06832693d9a5d

See more details on using hashes here.

Supported by

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