|
@@ -3,11 +3,11 @@
|
|
|
@description: try to get some more accounts
|
|
|
"""
|
|
|
|
|
|
-from tasks.crawler_accounts_by_association import ChannelsAccountCrawler
|
|
|
-from tasks.crawler_accounts_by_association import ToutiaoAccountCrawler
|
|
|
-from tasks.crawler_accounts_by_association import HaoKanAccountCrawler
|
|
|
-from tasks.crawler_accounts_by_association import GzhAccountCrawler
|
|
|
-from tasks.generate_search_keys import get_association_title_list_in_multi_threads
|
|
|
+from tasks.crawler_tasks.crawler_account.crawler_accounts_by_association import ChannelsAccountCrawler
|
|
|
+from tasks.crawler_tasks.crawler_account.crawler_accounts_by_association import ToutiaoAccountCrawler
|
|
|
+from tasks.crawler_tasks.crawler_account.crawler_accounts_by_association import HaoKanAccountCrawler
|
|
|
+from tasks.crawler_tasks.crawler_account.crawler_accounts_by_association import GzhAccountCrawler
|
|
|
+from tasks.ai_tasks.generate_search_keys import get_association_title_list_in_multi_threads
|
|
|
|
|
|
|
|
|
def deal_each_platform(platform: str) -> None:
|
|
@@ -33,9 +33,9 @@ def deal_each_platform(platform: str) -> None:
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
# get_association_title_list_in_multi_threads()
|
|
|
- get_association_title_list_in_multi_threads()
|
|
|
|
|
|
# get each platform
|
|
|
- platform_list = ["sph", "hksp", "toutiao", "gzh"]
|
|
|
+ # platform_list = ["sph", "hksp", "toutiao", "gzh"]
|
|
|
+ platform_list = ["toutiao"]
|
|
|
for platform_id in platform_list:
|
|
|
deal_each_platform(platform=platform_id)
|