Bläddra i källkod

西瓜视频——cookie 逆向, 解决 cookie 过期问题

罗俊辉 1 år sedan
förälder
incheckning
0e8edab7e8
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      xigua/xigua_author/xigua_author.py

+ 1 - 1
xigua/xigua_author/xigua_author.py

@@ -728,7 +728,7 @@ class XiGuaAuthor:
         :param account: 输入的账号信息
         {'play_cnt': {'min': 100000, 'max': 0}, 'period': {'min': 5, 'max': 5}}
         """
-        temp = account['link'].split("_")
+        temp = account['link'].split("?")[0].split("_")
         if len(temp) == 1:
             return self.rule_dict
         else: