瀏覽代碼

update 西瓜搜索cookie修改

lierqiang 2 年之前
父節點
當前提交
0f57b51a82
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      xigua/xigua_search/xigua_search.py

+ 1 - 1
xigua/xigua_search/xigua_search.py

@@ -640,7 +640,7 @@ class XiguaSearch:
             headers = {
                 'referer': 'https://www.ixigua.com/search/{}/?logTag=594535e3690f17a88cdb&tab_name=search'.format(
                     quote(search_word)),
-                'cookie': '1%7Cx_4RDmVTqp6BQ5Xy5AnuCZCQdDyDxv-fnMVWzj19VU0%7C1679381806%7C8606abc1cd7ca28e965c685e31e622e1a897475a1dfb4ed56bb2fc2ba08f2f62',
+                'cookie': 'ttwid=1%7Cx_4RDmVTqp6BQ5Xy5AnuCZCQdDyDxv-fnMVWzj19VU0%7C1679382377%7C4e25692dc4b9d5dca56d690001d168b21ed028a9ac075808ab9262238cb405ee;',
                 'user-agent': get_random_user_agent('pc'),
             }
             try: