1import { ApifyClient } from 'apify-client';
2
3
4
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9
10const input = {
11 "shopNames": [
12 "CaitlynMinimalist",
13 "TuesdayMorningStudio",
14 "ModParty",
15 "SarahSilverDesigns",
16 "LittleRubyStudio",
17 "OrganicBioBlooms",
18 "BoholoveJewelry",
19 "AsterDesignStudio",
20 "FavourLanetm",
21 "WedlockDesign",
22 "MoonCreekCurio",
23 "JewelsbyJulianna",
24 "Glamorous3",
25 "MountainPieceStudio",
26 "VintageNestCA",
27 "HomeDecorShoppe",
28 "EarthyAffair",
29 "OhBohoBride",
30 "LivehuntJewelry",
31 "MySunshineNow",
32 "ArtFromDenmark",
33 "NorthwoodsCandlesCo",
34 "PrettyPinkSlumber",
35 "GoldBranchLV",
36 "LittleGirlClubShop",
37 "PlanetPups",
38 "SouthernBellBoutique",
39 "SilverRainSilver",
40 "AsandrosLeather",
41 "TheSilverWren"
42 ],
43 "maxItems": 10,
44 "proxyConfiguration": {
45 "useApifyProxy": true,
46 "apifyProxyGroups": [
47 "RESIDENTIAL"
48 ]
49 }
50};
51
52
53const run = await client.actor("parseforge/etsy-scraper").call(input);
54
55
56console.log('Results from dataset');
57console.log(`๐พ Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
58const { items } = await client.dataset(run.defaultDatasetId).listItems();
59items.forEach((item) => {
60 console.dir(item);
61});
62
63