mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-25 11:58:37 +09:00
🐛 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}"
|
new_file_name = f"{file_name_without_extension}-output{file_extension}"
|
||||||
else:
|
else:
|
||||||
raise ValueError("Only .apk extensions are allowed.")
|
raise ValueError("Only .apk extensions are allowed.")
|
||||||
APP.download(url, config, assets_filter="", file_name=new_file_name)
|
APP.download(url, config, assets_filter=".*apk", file_name=new_file_name)
|
||||||
except ValueError:
|
except (ValueError, IndexError):
|
||||||
logger.info(
|
logger.info(
|
||||||
"Unable to download extra file. Provide input in url@name.apk format."
|
"Unable to download extra file. Provide input in url@name.apk format."
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user