Udemy Courses Scraper avatar
Udemy Courses Scraper
Try for free

2 days trial then $30.00/month - No credit card required now

View all Actors
Udemy Courses Scraper

Udemy Courses Scraper

natanielsantos/udemy-courses-scraper
Try for free

2 days trial then $30.00/month - No credit card required now

Scrape data from thousands of courses available on udemy.com. Extract description, price, rating, created date, image and more. Download your data as HTML table, JSON, CSV, Excel, XML, and RSS feed.

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn mode

Node.js

Python

curl

1import { ApifyClient } from 'apify-client';
2
3// Initialize the ApifyClient with API token
4const client = new ApifyClient({
5    token: '<YOUR_API_TOKEN>',
6});
7
8// Prepare Actor input
9const input = {
10    "course_urls": [
11        {
12            "url": "https://www.udemy.com/course/python-3-do-zero-ao-avancado/"
13        }
14    ],
15    "category_url": [
16        {
17            "url": "https://www.udemy.com/courses/development/"
18        }
19    ],
20    "proxySettings": {
21        "useApifyProxy": true
22    }
23};
24
25(async () => {
26    // Run the Actor and wait for it to finish
27    const run = await client.actor("natanielsantos/udemy-courses-scraper").call(input);
28
29    // Fetch and print Actor results from the run's dataset (if any)
30    console.log('Results from dataset');
31    const { items } = await client.dataset(run.defaultDatasetId).listItems();
32    items.forEach((item) => {
33        console.dir(item);
34    });
35})();
Developer
Community logoMaintained by Community
Actor metrics
  • 9 monthly users
  • 97.9% runs succeeded
  • 9.1 days response time
  • Modified 19 days ago
Categories

You might also like these Actors