Skip to main content

Package to get Content data from wikipedia and IMDB

Project description

ContentData

by Hunter Kempf

Get Content Data from Wikipedia and IMDb

Get Data from Wikipedia Example:

from ContentData.WikiScrape import Company

url = 'https://en.wikipedia.org/wiki/List_of_original_programs_distributed_by_Netflix'
table_names = ["Drama",
               "Marvel series",
               "Comedy",
               "Animation",
               "Anime",
               "Children's programming - Animation",
               "Children's programming - Musical shorts",
               "Children's programming - Live action"]
table_indexes = range(0,len(table_names))

NFLX = Company("Netflix",url,table_names,table_indexes)
NFLX.get_dataframe()

Get Data from IMDb Example:

from ContentData.IMDbScrape import imdb_data

IMDb = imdb_data()
IMDb.get_list_mixed_data(["House of Cards","Hemlock Grove"])

The WikiScrape section only handles tabular data similar to the netflix example. This can be further expanded to include List like data similar to the HBO wikipedia article.

Project details


Release history Release notifications

Download files

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

Files for hunterk, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size hunterk-0.0.1.tar.gz (3.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page