1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "sources": [
10 {
11 "publisher": "GlobeNewswire — Partnerships",
12 "url": "https://www.globenewswire.com/RssFeed/subjectcode/29-x/feedTitle/GlobeNewswire",
13 "format": "rss",
14 },
15 {
16 "publisher": "GlobeNewswire — Joint Venture",
17 "url": "https://www.globenewswire.com/RssFeed/subjectcode/23-x/feedTitle/GlobeNewswire",
18 "format": "rss",
19 },
20 {
21 "publisher": "GlobeNewswire — Business Contracts",
22 "url": "https://www.globenewswire.com/RssFeed/subjectcode/7-x/feedTitle/GlobeNewswire",
23 "format": "rss",
24 },
25 {
26 "publisher": "GlobeNewswire — Licensing Agreements",
27 "url": "https://www.globenewswire.com/RssFeed/subjectcode/25-x/feedTitle/GlobeNewswire",
28 "format": "rss",
29 },
30 ],
31 "skipPreviouslyDelivered": True,
32 "historyId": "default",
33 "maxAgeDays": 30,
34}
35
36
37run = client.actor("nexgenwatch/partnership-alerts").call(run_input=run_input)
38
39
40print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
41for item in client.dataset(run.default_dataset_id).iterate_items():
42 print(item)
43
44