1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "mode": "search",
10 "queries": ["バッグ"],
11 "categories": [],
12 "urls": [
13 "https://www.mistore.jp/shopping/search?q=%E3%83%90%E3%83%83%E3%82%B0",
14 "https://www.mistore.jp/shopping/productlist?cgid=28_011500",
15 "https://www.mistore.jp/shopping/productlist?cgid=28_011500&start=60&srule=inexpensive",
16 "https://www.mistore.jp/shopping/productlist?cgid=28_011500&other=ref_sale_flg",
17 "https://www.mistore.jp/shopping/productlist?cgid=28_011500&pmin=1000&pmax=5000",
18 "https://www.mistore.jp/shopping/search?q=%E3%83%90%E3%83%83%E3%82%B0&srule=new-arrival&start=60",
19 "https://www.mistore.jp/shopping/brand/list?brand=002383",
20 "https://www.mistore.jp/shopping/product/900000000000000003062447.html",
21 "https://mistore.jp/shopping/product/900000000000000003062447.html",
22 ],
23 "proxy": {
24 "useApifyProxy": True,
25 "apifyProxyCountry": "JP",
26 },
27 "incrementalMode": False,
28 "emitUnchanged": False,
29 "emitExpired": False,
30 "compactUpdates": False,
31}
32
33
34run = client.actor("abotapi/mistore-jp-scraper").call(run_input=run_input)
35
36
37print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
38for item in client.dataset(run.default_dataset_id).iterate_items():
39 print(item)
40
41