mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-25 03:48:37 +09:00
Merge pull request #264 from nikhilbadyal/feature/263-extra-downloader-failure
🐛 Filter .apk for now
This commit is contained in:
+2
-2
@@ -115,8 +115,8 @@ def extra_downloads(config: RevancedConfig) -> None:
|
||||
new_file_name = f"{file_name_without_extension}-output{file_extension}"
|
||||
else:
|
||||
raise ValueError("Only .apk extensions are allowed.")
|
||||
APP.download(url, config, assets_filter="", file_name=new_file_name)
|
||||
except ValueError:
|
||||
APP.download(url, config, assets_filter=".*apk", file_name=new_file_name)
|
||||
except (ValueError, IndexError):
|
||||
logger.info(
|
||||
"Unable to download extra file. Provide input in url@name.apk format."
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user