shensong00 3 lat temu
rodzic
commit
192d4aa6ff
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      web_dy.py

+ 2 - 2
web_dy.py

@@ -1,7 +1,7 @@
1
-# -- coding: utf-8 --**
2 1
 import requests,json,random,execjs,uuid
3 2
 from urllib import parse
4 3
 from urllib.parse import quote
4
+# -- coding: utf-8 --**
5 5
 
6 6
 class WebDouYin:
7 7
     def __init__(self):
@@ -55,7 +55,7 @@ class WebDouYin:
55 55
                 res = requests.post(url, headers=headers,verify=False, proxies=proxy,data=data, timeout=8)
56 56
             else:
57 57
                 res=requests.get(url,headers=headers,verify=False,proxies=proxy,timeout=8)
58
-            # print(res.content.decode())
58
+            print(res.content.decode())
59 59
             json_data=json.loads(res.content.decode())
60 60
         except Exception as e:
61 61
             json_data = "请求失败" + str(e)