1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "mode": "urls",
10 "searchTerms": ["니트"],
11 "sortBy": "relevance",
12 "urls": [
13 "https://www.ssfshop.com/New-In/list?dspCtgryNo=SFMA41A14",
14 "https://www.ssfshop.com/8seconds/main?dspCtgryNo=&brandShopNo=BDMA07A01&brndShopId=8SBSS",
15 "https://www.ssfshop.com/search/result?keyword=%EB%82%A8%EB%B0%94%EC%A7%80",
16 "https://www.ssfshop.com/8-seconds/GM0025062354402/good",
17 ],
18 "fetchDetails": True,
19 "fetchReviews": True,
20 "maxReviews": 20,
21 "maxItems": 20,
22 "maxPages": 0,
23 "proxy": { "useApifyProxy": True },
24 "resumeFromRunId": "",
25 "incrementalMode": False,
26 "stateKey": "",
27 "emitUnchanged": False,
28 "emitExpired": False,
29 "ignoreFieldsForChanges": [],
30 "mcpConnectors": [],
31 "notionParentPageUrl": "",
32 "maxNotifyListings": 50,
33 "notifyOnlyChanges": False,
34 "notificationLimit": 5,
35 "slackWebhookUrl": "",
36 "discordWebhookUrl": "",
37 "telegramBotToken": "",
38 "telegramChatId": "",
39}
40
41
42run = client.actor("abotapi/klekt-com-scraper").call(run_input=run_input)
43
44
45print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
46for item in client.dataset(run.default_dataset_id).iterate_items():
47 print(item)
48
49