1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "startUrls": [
10 "https://www.kickstarter.com/projects/1460250988/darkest-dungeon-by-red-hook-studios",
11 "https://www.kickstarter.com/discover/categories/games/tabletop%20games",
12 "https://www.kickstarter.com/discover/places/seattle-wa",
13 "https://www.kickstarter.com/profile/alleycatgames",
14 "https://www.kickstarter.com/discover/advanced?term=board+games&category_id=12&pledged=1&goal=1&sort=newest&seed=2832283&next_page_cursor=&page=1",
15 ],
16 "query": "Gadgets",
17 "maxResults": 10,
18 "category": "All",
19 "location": "United States",
20 "sort": "newest",
21 "customMapFunction": "(object) => { return {...object} }",
22 "proxyConfig": {
23 "useApifyProxy": True,
24 "apifyProxyGroups": ["RESIDENTIAL"],
25 },
26}
27
28
29run = client.actor("epctex/kickstarter-scraper").call(run_input=run_input)
30
31
32print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
33for item in client.dataset(run["defaultDatasetId"]).iterate_items():
34 print(item)
35
36