shensong00 il y a 2 ans
Parent
commit
c716e1541c
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      douyin_video_scraper_web.py

+ 2 - 1
douyin_video_scraper_web.py

@@ -50,7 +50,8 @@ def set_score(flag):
50 50
     return None
51 51
 
52 52
 def get_signature(url=None,method='_signature'):
53
-    with open('/mnt/kwai_data_center_test_scraper/signature.js', 'r', encoding='utf-8') as f:
53
+    # with open('/mnt/kwai_data_center_test_scraper/signature.js', 'r', encoding='utf-8') as f:
54
+    with open('/mnt/shop_live_scraper_shen/signature.js', 'r', encoding='utf-8') as f:
54 55
         b = f.read()
55 56
     
56 57
     c = execjs.compile(b)