GithubHelp home page GithubHelp logo

oxylabs / netflix-scraper Goto Github PK

View Code? Open in Web Editor NEW
105.0 1.0 0.0 18 KB

Netflix Scraper for easy collection of titles, descriptions, cast, ratings, and other public data from Netflix.

Home Page: https://oxylabs.io/products/scraper-api/web/netflix

Python 100.00%
netflix scraper scraper-api netflix-scraper netflix-scraper-api netflix-api netflix-landing-page email-crawler movie-scrapper movies-api

netflix-scraper's Introduction

Netflix Scraper

Oxylabs promo code

Netflix Scraper extracts public data from Netflix on any scale you need. This quick tutorial will show you how to scrape Netflix with Oxylabs’ Scraper API.

How it works

You can gather Netflix data by sending a request to our API and including the Netflix URLs you want to scrape. Our service will send back the HTML of any Netflix page.

Python code example

This code sample makes a request to our service, which then renders JavaScript via a headless browser and retrieves the HTML of a Netflix page:

import requests
from pprint import pprint


# Structure payload.
payload = {
   'source': 'universal',
   'url': 'https://www.netflix.com/de-en/title/80057281',
   'render': 'html'
}

# Get response.
response = requests.request(
    'POST',
    'https://realtime.oxylabs.io/v1/queries',
    auth=('USERNAME', 'PASSWORD'), #Your credentials go here
    json=payload,
)

# Instead of response with job status and results url, this will return the
# JSON response with results.
pprint(response.json())

Visit our documentation for more information about payload parameters.

Output sample

{
  "results": [
    {
      "content": "<!doctype html>\n<html lang=\"en\">\n<head>
      ...
      </script></div>\n</html>\n",
      "created_at": "2023-05-18 12:23:06",
      "updated_at": "2023-05-18 12:23:25",
      "page": 1,
      "url": "https://www.netflix.com/de-en/title/80057281",
      "job_id": "7064938450625018881",
      "status_code": 200
    }
  ]
}

Oxylabs’ Netflix Scraper API makes it much easier to collect public information from Netflix. You can gather details about movies or TV series, like episode names, descriptions, cast, ratings, similar shows, etc. You can also monitor pricing plans or the news about subscription changes. In case you have any questions, you can reach us via live chat or email.

Also, check this tutorial on pypi

netflix-scraper's People

Contributors

augustoxy avatar oxylabsorg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

netflix-scraper's Issues

Netflix Country

I would like to know what it looks like at netflix.com/latest. does it show the countries or just a list?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.