1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "mode": "news",
10 "matchIds": ["4506324"],
11 "urls": [
12 "https://www.fotmob.com/match/4506324",
13 "https://www.fotmob.com/teams/10252/overview/aston-villa",
14 "https://www.fotmob.com/players/268375/emiliano-martinez",
15 "https://www.fotmob.com/leagues/47/overview/premier-league",
16 ],
17 "date": "2026-08-29",
18 "leagueIds": ["47"],
19 "teamIds": ["10252"],
20 "playerIds": ["268375"],
21 "newsPages": 2,
22 "includeNewsBody": True,
23 "maxItems": 20,
24 "proxy": { "useApifyProxy": True },
25 "incrementalMode": False,
26 "emitUnchanged": False,
27 "emitExpired": False,
28}
29
30
31run = client.actor("abotapi/fotmob-scraper").call(run_input=run_input)
32
33
34print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
35for item in client.dataset(run.default_dataset_id).iterate_items():
36 print(item)
37
38