CSFD Scraper avatar

CSFD Scraper

Try for free

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

Go to Store
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 JavaScript 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.

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

CSFD Scraper API in JavaScript

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

Install the apify-client

npm install apify-client

Other API clients include:

Developer
Maintained by Community

Actor Metrics

  • 1 monthly user

  • 0 No stars yet

  • 94% runs succeeded

  • 71 days response time

  • Created in Jun 2024

  • Modified 5 months ago