Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 1.51 KB

README.md

File metadata and controls

26 lines (20 loc) · 1.51 KB

Netflix Top List Scraper

Scrapes the Top 10 Lists for Movies/TV for US netflix

Requirements

  1. You must have Python 3.~ installed
  2. Must have Chrome installed on the system you wish to run this script on

Installation

  1. Run pip install -r requirements.txt from within the repo
  2. Make sure you either expose the required environment variables before running script or edit the script yourself and replace the appropriate values for the expected variables
  3. Download the appropriate version of chrome driver that matches your current version of chrome and place it inside the repo (https://chromedriver.chromium.org/downloads)
  4. Run python netflix.py

Configuration

The following environment variables must either be set in the shell you're running the script from or can be edited permanently inside of the netflix.py file itself

Variable Description Example
TRAKT_API_KEY Your Trakt API key N/A
TRAKT_ACCESS_TOKEN Your Trakt access token (Further information can be found here N/A
TRAKT_MOVIE_LIST URL of trakt movie list (Root URL is api.trakt.tv) https://api.trakt.tv/users/painbringer112/lists/netflix-top-10-movies
TRAKT_TV_LIST URL of trakt TV list (Root URL is api.trakt.tv) https://api.trakt.tv/users/painbringer112/lists/netflix-top-10-shows
NETFLIX_USERNAME Username of your Netflix account N/A
NETFLIX_PASSWORD Password of your Netflix account N/A