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


Download files

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

Source Distribution

hunterk-0.0.1.tar.gz (3.6 kB view hashes)

Uploaded Source

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