zhangyong пре 1 година
родитељ
комит
9ffce09ab6
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      douyin/douyin_author/douyin_author_scheduling_new.py

+ 1 - 1
douyin/douyin_author/douyin_author_scheduling_new.py

@@ -64,7 +64,7 @@ class DouyinauthorScheduling:
                 'Accept': 'application/json, text/plain, */*',
                 'Accept-Language': 'zh-CN,zh;q=0.9',
                 'Cache-Control': 'no-cache',
-                'Cookie': cookie,
+                'Cookie': f"ttwid=" + cookie,
                 'Pragma': 'no-cache',
                 'Referer': f'https://www.douyin.com/user/{account_id}',
                 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) '