Ver Fonte

抖音增加页数

zhangyong há 8 meses atrás
pai
commit
a1ef20942c
2 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      data_channel/douyin.py
  2. 0 0
      data_channel/sph_crawling_data.py

+ 1 - 1
data_channel/douyin.py

@@ -17,7 +17,7 @@ class DY:
     def get_dy_url(cls, task_mark, url_id, number, mark, feishu_id, cookie_sheet, channel_id, name):
     def get_dy_url(cls, task_mark, url_id, number, mark, feishu_id, cookie_sheet, channel_id, name):
         list = []
         list = []
         next_cursor = 0
         next_cursor = 0
-        for i in range(3):
+        for i in range(6):
             cookie = Material.get_cookie_data(feishu_id, cookie_sheet, channel_id)
             cookie = Material.get_cookie_data(feishu_id, cookie_sheet, channel_id)
             time.sleep(random.randint(1, 5))
             time.sleep(random.randint(1, 5))
             url = 'https://www.douyin.com/aweme/v1/web/aweme/post/'
             url = 'https://www.douyin.com/aweme/v1/web/aweme/post/'

+ 0 - 0
data_channel/sph_crawling_data.py