Skip to content

Commit

Permalink
fix: wrong xunlei version for auto token retrieval
Browse files Browse the repository at this point in the history
正确的版本应为 3.21.0
  • Loading branch information
sgpublic committed May 9, 2024
1 parent 86cb500 commit d33c0ae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def get_file_index(self, file_info: dict) -> str:

def get_pan_token(self) -> str:
server_version = self.get_server_version()
if check_version_at_lest(server_version, "1.21.1"):
if check_version_at_lest(server_version, "3.21.0"):
if self._token_str is not None:
return self._token_str
resp = self.request_handler.get(self.http_endpoint + '/webman/3rdparty/pan-xunlei-com/index.cgi/',
Expand Down

0 comments on commit d33c0ae

Please sign in to comment.