Explorar o código

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

罗俊辉 hai 1 ano
pai
achega
692e6b6aa6
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      xigua/xigua_author/xigua_author.py

+ 4 - 0
xigua/xigua_author/xigua_author.py

@@ -841,10 +841,12 @@ class XiGuaAuthor:
                 return
             elif not response.json()["data"]["videoList"]:
                 AliyunLogger.logging(
+                    account=link,
                     code="3000",
                     platform=self.platform,
                     mode=self.mode,
                     env=self.env,
+                    data=response.json(),
                     message=f"没有更多数据啦~\n",
                 )
                 return
@@ -910,10 +912,12 @@ class XiGuaAuthor:
                 return
             elif not response.json()["data"]["data"]:
                 AliyunLogger.logging(
+                    account=link,
                     code="2000",
                     platform=self.platform,
                     mode=self.mode,
                     env=self.env,
+                    data=response.json(),
                     message=f"没有更多数据啦~\n",
                 )
                 return