1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "mode": "search",
10 "searchType": "all",
11 "language": "en",
12 "source": "originals",
13 "sortOrder": "MANA",
14 "urls": [
15 "https://www.webtoons.com/en/genres/drama?sortOrder=MANA",
16 "https://www.webtoons.com/en/genres/fantasy?sortOrder=UPDATE",
17 "https://www.webtoons.com/es/genres/drama",
18 "https://www.webtoons.com/en/originals/monday",
19 "https://www.webtoons.com/en/originals?weekday=tuesday",
20 "https://www.webtoons.com/en/dailySchedule?weekday=WEDNESDAY",
21 "https://www.webtoons.com/en/ranking/trending",
22 "https://www.webtoons.com/en/search?keyword=tower%20of%20god",
23 "https://www.webtoons.com/en/canvas/list?genreTab=ALL",
24 "https://www.webtoons.com/en/canvas/list?genreTab=ROMANCE",
25 "https://www.webtoons.com/en/canvas/list?genreTab=ALL&sortOrder=LIKEIT",
26 "https://www.webtoons.com/en/fantasy/tower-of-god/list?title_no=95",
27 "https://www.webtoons.com/en/super-hero/unordinary/list?title_no=679&page=2",
28 "https://www.webtoons.com/en/canvas/talks-of-life/list?title_no=1134428",
29 "https://www.webtoons.com/episodeList?titleNo=1320",
30 "https://m.webtoons.com/en/romance/truebeauty/list?title_no=1436",
31 ],
32 "proxy": { "useApifyProxy": True },
33 "ignoreFieldsForChanges": [],
34}
35
36
37run = client.actor("abotapi/webtoons-com-scraper").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