1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "sources": [
10 {
11 "publisher": "PR Newswire — Joint Ventures",
12 "url": "https://www.prnewswire.com/rss/financial-services-latest-news/joint-ventures-list.rss",
13 "format": "rss",
14 },
15 {
16 "publisher": "Newswire.ca — Joint Ventures",
17 "url": "https://www.newswire.ca/rss/financial-services-latest-news/joint-ventures-list.rss",
18 "format": "rss",
19 },
20 {
21 "publisher": "PR Newswire — Licensing",
22 "url": "https://www.prnewswire.com/rss/general-business-latest-news/licensing-list.rss",
23 "format": "rss",
24 },
25 {
26 "publisher": "PR Newswire — All News Releases",
27 "url": "https://www.prnewswire.com/rss/news-releases-list.rss",
28 "format": "rss",
29 },
30 {
31 "publisher": "GlobeNewswire — Partnerships",
32 "url": "https://www.globenewswire.com/RssFeed/subjectcode/29-x/feedTitle/GlobeNewswire",
33 "format": "rss",
34 },
35 {
36 "publisher": "GlobeNewswire — Joint Venture",
37 "url": "https://www.globenewswire.com/RssFeed/subjectcode/23-x/feedTitle/GlobeNewswire",
38 "format": "rss",
39 },
40 {
41 "publisher": "GlobeNewswire — Business Contracts",
42 "url": "https://www.globenewswire.com/RssFeed/subjectcode/7-x/feedTitle/GlobeNewswire",
43 "format": "rss",
44 },
45 {
46 "publisher": "GlobeNewswire — Licensing Agreements",
47 "url": "https://www.globenewswire.com/RssFeed/subjectcode/25-x/feedTitle/GlobeNewswire",
48 "format": "rss",
49 },
50 ],
51 "maxRecords": 10,
52 "skipPreviouslyDelivered": True,
53 "historyId": "default",
54 "maxAgeDays": 30,
55}
56
57
58run = client.actor("nexgenwatch/partnership-alerts").call(run_input=run_input)
59
60
61print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
62for item in client.dataset(run.default_dataset_id).iterate_items():
63 print(item)
64
65