Browse Source

调整绝对路径

chenzhiyuan 3 years ago
parent
commit
993c2ba841
1 changed files with 1 additions and 1 deletions
  1. 1 1
      web_dy.py

+ 1 - 1
web_dy.py

@@ -9,7 +9,7 @@ class WebDouYin:
9 9
         self.proxies = {
10 10
         }
11 11
     def get_signature(self,url=None,method='_signature'):
12
-        with open('signature.js', 'r', encoding='utf-8') as f:
12
+        with open('/mnt/shop_live_scraper/signature.js', 'r', encoding='utf-8') as f:
13 13
             b = f.read()
14 14
         
15 15
         c = execjs.compile(b)