![Udemy Courses Scraper avatar](https://images.apifyusercontent.com/rW_0bU4uA0Cl_-oTd2O8WgpJhFg0nIsKgjE6167m3HY/rs:fill:92:92/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS8wcXRudEhDbUFKMUZidzhBSy9mUWdXNU45dzcyQjhYa2s3dC1VZGVteS1FbWJsZW1fJTI4MSUyOS5wbmc.webp)
Udemy Courses Scraper
Try for free
2 days trial then $30.00/month - No credit card required now
View all Actors![Udemy Courses Scraper](https://images.apifyusercontent.com/rW_0bU4uA0Cl_-oTd2O8WgpJhFg0nIsKgjE6167m3HY/rs:fill:92:92/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS8wcXRudEhDbUFKMUZidzhBSy9mUWdXNU45dzcyQjhYa2s3dC1VZGVteS1FbWJsZW1fJTI4MSUyOS5wbmc.webp)
![Udemy Courses Scraper](https://images.apifyusercontent.com/rW_0bU4uA0Cl_-oTd2O8WgpJhFg0nIsKgjE6167m3HY/rs:fill:92:92/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS8wcXRudEhDbUFKMUZidzhBSy9mUWdXNU45dzcyQjhYa2s3dC1VZGVteS1FbWJsZW1fJTI4MSUyOS5wbmc.webp)
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 more
1import { ApifyClient } from 'apify-client';
2
3// Initialize the ApifyClient with your Apify 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 "start_urls": [
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 console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
32 const { items } = await client.dataset(run.defaultDatasetId).listItems();
33 items.forEach((item) => {
34 console.dir(item);
35 });
36})();
37
38// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs
Developer
Maintained by Community
Actor metrics
- 16 monthly users
- 1 star
- 90.3% runs succeeded
- 6.2 hours response time
- Created in May 2023
- Modified 17 days ago
Categories