Eccezione per Android
This commit is contained in:
+1
-1
@@ -410,7 +410,7 @@ def downloadpage(url, **opt):
|
|||||||
load_cookies()
|
load_cookies()
|
||||||
import requests
|
import requests
|
||||||
# if 'Linux' in os.name and 'ANDROID_STORAGE' not in os.environ and config.get_platform(True)['num_version'] > 18.2:
|
# if 'Linux' in os.name and 'ANDROID_STORAGE' not in os.environ and config.get_platform(True)['num_version'] > 18.2:
|
||||||
if config.get_platform(True)['num_version'] > 18.2:
|
if 'ANDROID_STORAGE' not in os.environ and config.get_platform(True)['num_version'] > 18.2:
|
||||||
from lib.cloudscraper import cloudscraper
|
from lib.cloudscraper import cloudscraper
|
||||||
else:
|
else:
|
||||||
from lib.cloudscraper import cloudscraper_mod as cloudscraper
|
from lib.cloudscraper import cloudscraper_mod as cloudscraper
|
||||||
|
|||||||
Reference in New Issue
Block a user