1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "operation": "search",
10 "locations": ["New York, NY"],
11 "searchQueries": ["music"],
12 "maxItems": 20,
13 "price": "any",
14 "eventUrls": ["https://www.eventbrite.com/e/friday-night-lights-at-mama-taco-everyone-free-b4-12am-wrsvp-tickets-1994434242508"],
15 "organizerUrls": ["https://www.eventbrite.com/o/jiggytime-ent-5494940201"],
16 "includeDetails": True,
17 "includeOrganizer": False,
18}
19
20
21run = client.actor("sian.agency/eventbrite-scraper").call(run_input=run_input)
22
23
24print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
25for item in client.dataset(run.default_dataset_id).iterate_items():
26 print(item)
27
28