Bulk asynchronous downloader for multiple file hosts
Python asynciobunkrcyberdropdownloaderdropboxfilestergofilegoogle-drivemediafiremegamega-nzonedrivepatreonpawchivepinterestpixeldraintransfer-ittwitchtwittervk
fix: changing script text boundaries (#1209)
Barbarella6666666c41d53f58646
diff --git a/cyberdrop_dl/crawlers/ashemaletube.py b/cyberdrop_dl/crawlers/ashemaletube.pyindex 03f4730c6..5c71f6d83 100644--- a/cyberdrop_dl/crawlers/ashemaletube.py+++ b/cyberdrop_dl/crawlers/ashemaletube.py@@ -210,6 +210,6 @@ def parse_player_info(script_text: str) -> Format:def get_resolution(video) -> int:return int(video["desc"].rstrip("p"))- sources = get_text_between(script_text, "var sources = ", "var playerConfig").strip().strip(";")+ sources = get_text_between(script_text, "var sources = ", "var multiSource =").strip().strip(";")video_data = max(json.loads(sources), key=get_resolution)return Format(video_data["desc"], AbsoluteHttpURL(video_data["src"]), video_data["hls"])