Update Test

This commit is contained in:
Yoshiko2
2020-09-07 20:18:36 +08:00
committed by GitHub
parent 38ffc56a1a
commit 3db36d0499
5 changed files with 41 additions and 26 deletions

View File

@@ -59,8 +59,6 @@ def get_html(url, cookies: dict = None, ua: str = None, return_type: str = None)
if return_type == "object":
return result
elif return_type == "json":
return result.json()
else:
return result.text