wangkun před 2 roky
rodič
revize
08c1b10df0
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      main/haokan_channel.py

+ 2 - 2
main/haokan_channel.py

@@ -58,8 +58,8 @@ class Channel:
                 'Cache-Control': 'no-cache',
                 'Connection': 'keep-alive',
                 'Content-Type': 'application/x-www-form-urlencoded',
-                'Cookie': str(cookies).strip().replace('\n', ''),
-                # 'Cookie': Feishu.get_values_batch(log_type, 'haokan', '5LksMx')[0][0],
+                # 'Cookie': str(cookies).strip().replace('\n', ''),
+                'Cookie': Feishu.get_values_batch(log_type, 'haokan', '5LksMx')[0][0],
                 'Pragma': 'no-cache',
                 'Referer': 'https://haokan.baidu.com/tab/recommend',
                 'Sec-Fetch-Dest': 'empty',