mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-25 03:48:37 +09:00
🎨 Added apkmonk icon scrapper (#327)
This commit is contained in:
@@ -17,6 +17,7 @@ not_found_icon = "https://img.icons8.com/bubbles/500/android-os.png"
|
||||
revanced_api = "https://releases.revanced.app/patches"
|
||||
APK_MONK_BASE_URL = "https://www.apkmonk.com"
|
||||
APK_MONK_APK_URL = APK_MONK_BASE_URL + "/app/{}/"
|
||||
APK_MONK_ICON_URL = "https://cdn.apkmonk.com/logos/{}"
|
||||
apk_sources = {
|
||||
"backdrops": f"{APK_MIRROR_BASE_APK_URL}/backdrops/backdrops-wallpapers/",
|
||||
"bacon": f"{APK_MIRROR_BASE_APK_URL}/onelouder-apps/baconreader-for-reddit/",
|
||||
|
||||
@@ -22,6 +22,10 @@ class APKComboIconScrapError(APKMirrorIconScrapError):
|
||||
"""Exception raised when the icon cannot be scraped from apkcombo."""
|
||||
|
||||
|
||||
class APKMonkIconScrapError(APKMirrorIconScrapError):
|
||||
"""Exception raised when the icon cannot be scraped from apkmonk."""
|
||||
|
||||
|
||||
class DownloadError(Exception):
|
||||
"""Generic Download failure."""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user