1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "mode": "search",
10 "queries": ["Carrefour"],
11 "urls": [
12 "https://gowork.fr/b-hive-mulhouse",
13 "https://gowork.fr/le-carrefour-de-la-fleur-montigny-en-gohelle,1",
14 "https://gowork.fr/randstad-france",
15 "https://www.gowork.fr/b-hive-mulhouse",
16 "https://gowork.fr/search",
17 "https://gowork.fr/search?q=Carrefour",
18 "https://gowork.fr/search?q=Carrefour&page=2",
19 "https://gowork.de/search?q=Aldi",
20 "https://gowork.de/search?q=Aldi&page=2",
21 "https://gowork.fr/avis/paris;l",
22 "https://gowork.fr/avis/marseille;l?page=2",
23 "https://gowork.fr/avis/location-de-logements;tr",
24 "https://gowork.fr/avis/restaurants-et-services-alimentaires;tr?page=2",
25 "https://gowork.fr/avis/7112b;a",
26 "https://gowork.fr/sitemap_company_1.xml.gz",
27 "https://gowork.fr/sitemap_cities_1.xml.gz",
28 "https://gowork.fr/sitemap.xml",
29 "https://gowork.de/sitemap.xml",
30 ],
31 "proxy": {
32 "useApifyProxy": True,
33 "apifyProxyGroups": ["RESIDENTIAL"],
34 "apifyProxyCountry": "FR",
35 },
36 "incrementalMode": False,
37 "emitUnchanged": False,
38 "emitExpired": False,
39}
40
41
42run = client.actor("abotapi/gowork-eu-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