Test - CF per XBOX
This commit is contained in:
+2
-1
@@ -409,7 +409,8 @@ 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 ('Linux' in os.name and 'ANDROID_STORAGE' not in os.environ and config.get_platform(True)['num_version'] > 18.2) \
|
||||
or ('nt' in os.name and 'ProfileDrive' in os.environ and 'LogDrive' in os.environ):
|
||||
from lib.cloudscraper import cloudscraper
|
||||
else:
|
||||
from lib.cloudscraper import cloudscraper_mod as cloudscraper
|
||||
|
||||
Reference in New Issue
Block a user