Advanced Glassdoor Scraper
View all Actors
This Actor is unavailable because the developer has decided to deprecate it. Would you like to try a similar Actor instead?
See alternative ActorsAdvanced Glassdoor Scraper
epctex/advanced-glassdoor-scraper
The most advanced Glassdoor Scraper that you would ever need. Extract millions of companies, salaries, interviews, jobs, and reviews from Glassdoor. You can specify search terms, filters, list pages, and more! Extremely fast, with no limits. Super easy to use!
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 "startUrls": [
11 "https://www.glassdoor.com/Overview/Working-at-Elastic-EI_IE751551.11,18.htm",
12 "https://www.glassdoor.com/Reviews/Elastic-Reviews-E751551.htm",
13 "https://www.glassdoor.com/Reviews/Elastic-Reviews-E751551.htm?filter.iso3Language=eng&filter.employmentStatus=REGULAR&filter.employmentStatus=PART_TIME&filter.searchCategory=CULTURE",
14 "https://www.glassdoor.com/Interview/Elastic-Interview-Questions-E751551.htm",
15 "https://www.glassdoor.com/Interview/Elastic-Marketing-Assistant-Interview-Questions-EI_IE751551.0,7_KO8,27.htm#InterviewReview_76289952",
16 "https://www.glassdoor.com/Job/elastic-jobs-SRCH_KO0,7.htm",
17 "https://www.glassdoor.com/job-listing/federal-account-executive-nga-elastic-JV_IC1138213_KO0,29_KE30,37.htm?jl=1008611278488&pos=107&ao=1136043&s=58&guid=000001884d59c10aafb263d8cfe0037f&src=GD_JOB_AD&t=SR&vt=w&ea=1&cs=1_cd6d3492&cb=1684924907959&jobListingId=1008611278488&jrtk=3-0-1h16ljg9dk6fr801-1h16ljg9ti9j2800-c74621bdf8ed430d-&ctt=1684925008345",
18 "https://www.glassdoor.com/Salary/Elastic-Software-Engineer-Salaries-E751551_D_KO8,25.htm"
19 ],
20 "search": "agency",
21 "maxItems": 20,
22 "endPage": 1,
23 "extendOutputFunction": ($) => { return {} },
24 "customMapFunction": (object) => { return {...object} },
25 "proxy": {
26 "useApifyProxy": true
27 }
28};
29
30(async () => {
31 // Run the Actor and wait for it to finish
32 const run = await client.actor("epctex/advanced-glassdoor-scraper").call(input);
33
34 // Fetch and print Actor results from the run's dataset (if any)
35 console.log('Results from dataset');
36 console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
37 const { items } = await client.dataset(run.defaultDatasetId).listItems();
38 items.forEach((item) => {
39 console.dir(item);
40 });
41})();
42
43// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs
Developer
Maintained by Community
Categories