mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-25 03:48:37 +09:00
Merge pull request #105 from nikhilbadyal/ytmusic-arm64 [skip ci]
✨ Patch ytmusic-arm64
This commit is contained in:
+6
-1
@@ -79,7 +79,12 @@ class Downloader(object):
|
||||
apm = parser.css(".apkm-badge")
|
||||
sub_url = ""
|
||||
for is_apm in apm:
|
||||
if "APK" in is_apm.text():
|
||||
parent_text = is_apm.parent.parent.text()
|
||||
if "APK" in is_apm.text() and (
|
||||
"arm64-v8a" in parent_text
|
||||
or "universal" in parent_text
|
||||
or "noarch" in parent_text
|
||||
):
|
||||
parser = is_apm.parent
|
||||
sub_url = parser.css_first(".accent_color").attributes["href"]
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user