CSFD Scraper avatar

CSFD Scraper

Try for free

1 day trial then $25.00/month - No credit card required now

View all Actors
CSFD Scraper

CSFD Scraper

danielherman/csfd-scraper
Try for free

1 day trial then $25.00/month - No credit card required now

CSFD Scraper is a blazingly fast web scraper powered by Rust on the backend. It allows you to scrape csfd.cz

You can access the CSFD Scraper programmatically from your own Python applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.

1from apify_client import ApifyClient
2
3# Initialize the ApifyClient with your Apify API token
4# Replace '<YOUR_API_TOKEN>' with your token.
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7# Prepare the Actor input
8run_input = {
9    "requests": [
10        {
11            "request_type": "View",
12            "url": "https://www.csfd.cz/film/17592-ctyri-svatby-a-jeden-pohreb/prehled/",
13        },
14        {
15            "request_type": "View",
16            "url": "https://www.csfd.cz/film/1490468-survivor-cesko-slovensko/prehled/",
17        },
18        {
19            "request_type": "View",
20            "url": "https://www.csfd.cz/film/68990-star-trek-hluboky-vesmir-devet/494608-serie-6/prehled/",
21        },
22        {
23            "request_type": "ViewReviews",
24            "url": "https://www.csfd.cz/film/14855-mlady-draci-ninja-2/recenze/",
25        },
26        {
27            "request_type": "ViewReviews",
28            "url": "https://www.csfd.cz/film/68990-star-trek-hluboky-vesmir-devet/494630-zuctovani/recenze/",
29        },
30        {
31            "request_type": "ViewRatings",
32            "url": "https://www.csfd.cz/film/14825-spirit-of-man/prehled//",
33        },
34        {
35            "request_type": "User",
36            "url": "https://www.csfd.cz/uzivatel/195357-verbal/",
37        },
38        {
39            "request_type": "UserReviews",
40            "url": "https://www.csfd.cz/uzivatel/195357-verbal/recenze/",
41        },
42    ],
43    "proxy_settings": { "useApifyProxy": True },
44}
45
46# Run the Actor and wait for it to finish
47run = client.actor("danielherman/csfd-scraper").call(run_input=run_input)
48
49# Fetch and print Actor results from the run's dataset (if there are any)
50print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
51for item in client.dataset(run["defaultDatasetId"]).iterate_items():
52    print(item)
53
54# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

CSFD Scraper API in Python

The Apify API client for Python is the official library that allows you to use CSFD Scraper API in Python, providing convenience functions and automatic retries on errors.

Install the apify-client

pip install apify-client

Other API clients include:

Developer
Maintained by Community
Actor metrics
  • 1 monthly user
  • 0 stars
  • 82.1% runs succeeded
  • 7.8 days response time
  • Created in Jun 2024
  • Modified 3 months ago