Skip to main content

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>
<html lang="en">
<head>
      ...
      </script></div>
</html>
",
      "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.

Metadata

Release files for Netflix-scraper 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Netflix-scraper 0.1.0
File Size Uploaded
Netflix-scraper-0.1.0.tar.gz 2.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for Netflix-scraper 0.1.0
File Interpreter ABI Platform
Netflix_scraper-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 4.8 kB

Release files / Netflix-scraper-0.1.0.tar.gz

Download URL Netflix-scraper-0.1.0.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
2129ac7565864ba43eac62001c5e670f0ef2971c333217be3013fcea301d8bee
BLAKE2b-256 checksum
How to use checksums
64c375ce345113f7b55ae83184b974be979930bbcba91038977b514aafcd540e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release files / Netflix_scraper-0.1.0-py3-none-any.whl

Download URL Netflix_scraper-0.1.0-py3-none-any.whl
Size 2.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ad30964d87d3ed9575550922eccc79cbe143d00baaca02bcbdb088a56807e7d6
BLAKE2b-256 checksum
How to use checksums
c913e8ab5aef81588b45e10a8c8fdfe943fa0dbc6b83ec014124a32742eb6ee8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page