Gab Marketplace Scraper avatar
Gab Marketplace Scraper
Try for free

Pay $1.00 for 1,000 results

View all Actors
Gab Marketplace Scraper

Gab Marketplace Scraper

web.harvester/gab-marketplace-scraper
Try for free

Pay $1.00 for 1,000 results

Scrape marketplace listings from Gab's website. Download your data in any format (JSON, CSV, XML, RSS, HTML Table). Seamless integration with apps, reports, and databases.

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    "startUrls": [],
11    "marketplaceSearchQueries": [
12        "Cream"
13    ],
14    "desiredMarketplaceListingsCount": 100,
15    "marketplaceSortBy": "NEWEST",
16    "marketplaceCategory": "ALL",
17    "marketplaceCondition": "ALL",
18    "marketplacePriceFrom": 0,
19    "marketplacePriceTo": 99999,
20    "marketplaceShipping": "ALL",
21    "marketplaceLocation": "",
22    "marketplaceTags": []
23};
24
25(async () => {
26    // Run the Actor and wait for it to finish
27    const run = await client.actor("web.harvester/gab-marketplace-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
  • 1 monthly users
  • 100.0% runs succeeded
  • Modified about 2 months ago

You might also like these Actors