Eccezione per Android

This commit is contained in:
Alhaziel
2019-12-03 12:18:11 +01:00
parent 86b722c2dd
commit f537c5eec0

View File

@@ -410,7 +410,7 @@ def downloadpage(url, **opt):
load_cookies()
import requests
# 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
else:
from lib.cloudscraper import cloudscraper_mod as cloudscraper