Skip to content

Selenium web scraper built for fun and out of personal curiosity. It allows to extract media information from Netflix.com.

Notifications You must be signed in to change notification settings

Tcheetox/Netflix-Scraper-Prototype

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Netflix Scraper Prototype

This Scraper project collects media information from Netflix using Selenium ChromeDriver. The application has been built to easily integrate additional scrapers such as for Amazon VOD.

I built this scraper out of fun and curiosity. Use at your own risk.

Get started

The collected information is stored in ConcurrentBag<IMedia>(). You can specify locations to store log files and the ChromeDriver cache in the App.config.

Clone

Setup

  • Google Chrome version 85.0 or higher is required

Included packages

  • Selenium WebDriver
  • Selenium WebDriver ChromeDriver

Usage example

  1. Instantiate NetflixScraper
NetflixScraper netflixScraper = new NetflixScraper(MediaBag);
netflixScraper.Start();
netflixScraper.Wait();
netflixScraper.Stop();
  1. Driver wrapper class
netflixDriver.NavigateSafely($"https://www.netflix.com");
netflixDriver.TryFindElement((driver) => driver.FindElementByClassName("CLASSNAME"), out IWebElement element)
  1. WebElement wrapper class
webElement.Safely((e) => e.FindElements(By.ClassName("CLASSNAME")))

About

Selenium web scraper built for fun and out of personal curiosity. It allows to extract media information from Netflix.com.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages