|
@@ -643,8 +643,14 @@ class XiguaSearch:
|
|
while True:
|
|
while True:
|
|
|
|
|
|
signature = cls.random_signature()
|
|
signature = cls.random_signature()
|
|
- url = "https://www.ixigua.com/api/searchv2/complex/{}/{}?order_type=publish_time&click_position=new".format(
|
|
|
|
- quote(search_word), offset, signature)
|
|
|
|
|
|
+ # url = "https://www.ixigua.com/api/searchv2/complex/{}/{}?order_type=publish_time&click_position=new".format(
|
|
|
|
+ # quote(search_word), offset, signature)
|
|
|
|
+ url = f'"https://www.ixigua.com/api/searchv2/complex/{search_word}/{offset}?' \
|
|
|
|
+ f'search_id=20230504153557F02E476476DC6A8AA64D&' \
|
|
|
|
+ f'aid=1768&' \
|
|
|
|
+ f'msToken=poapmifgjsl8P93vkl7eTAiFxXO-qOaE9Zs1S8nMxD5r4fkgJ56J8mC5p8MCp-WvX7rptUfCqbnfHE2GUMcs3ifN5haGBCcWXez6-wJJiLEmZ_RNn-w0moYj8ar3Cg==&' \
|
|
|
|
+ f'X-Bogus=DFSzswSO442ANnZhtCAL4em4pIDT&' \
|
|
|
|
+ f'_signature={signature}"'
|
|
|
|
|
|
headers = {
|
|
headers = {
|
|
'referer': 'https://www.ixigua.com/search/{}/?logTag=594535e3690f17a88cdb&tab_name=search'.format(
|
|
'referer': 'https://www.ixigua.com/search/{}/?logTag=594535e3690f17a88cdb&tab_name=search'.format(
|