wangkun 2 년 전
부모
커밋
08c1b10df0
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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',