nikhilbadyal / docker-py-revanced

One Click Python util to build all Revanced apps.
https://nikhilbadyal.github.io/docker-py-revanced/
GNU General Public License v3.0
565 stars 436 forks source link

lightroom building error #486

Closed ramanveerji closed 7 months ago

ramanveerji commented 7 months ago

Request guidelines

Name

lightroom

Error log or link to the logs if using Github Action

revanced-builder | https://www.apkmirror.com/apk/adobe/lightroom/lightroom-9-2-2-release/lightroom-photo-video-editor-9-2-2-3-android-apk-download/ revanced-builder | 2024-04-06 06:39:58.014 | ERROR | main:main:53 - Failed to build lightroom because of Unable to downloaded assets. Reason - <!DOCTYPE html>Just a moment...

revanced-builder | Traceback (most recent call last): revanced-builder | revanced-builder | File "/app/main.py", line 58, in revanced-builder | main() revanced-builder | └ <function main at 0x7f6ae9a39760> revanced-builder | revanced-builder | > File "/app/main.py", line 42, in main revanced-builder | app.download_apk_for_patching(config) revanced-builder | │ │ └ <src.config.RevancedConfig object at 0x7f6aeac16710> revanced-builder | │ └ <function APP.download_apk_for_patching at 0x7f6ae9f2e8e0> revanced-builder | └ <src.app.APP object at 0x7f6ae80ccc50> revanced-builder | revanced-builder | File "/app/src/app.py", line 74, in download_apk_for_patching revanced-builder | self.download_file_name, self.download_dl = downloader.download(self.app_version, self) revanced-builder | │ │ │ │ │ │ │ │ └ <src.app.APP object at 0x7f6ae80ccc50> revanced-builder | │ │ │ │ │ │ │ └ 'latest' revanced-builder | │ │ │ │ │ │ └ <src.app.APP object at 0x7f6ae80ccc50> revanced-builder | │ │ │ │ │ └ <function Downloader.download at 0x7f6ae9a393a0> revanced-builder | │ │ │ │ └ <src.downloader.apkmirror.ApkMirror object at 0x7f6ae26c1910> revanced-builder | │ │ │ └ '' revanced-builder | │ │ └ <src.app.APP object at 0x7f6ae80ccc50> revanced-builder | │ └ '' revanced-builder | └ <src.app.APP object at 0x7f6ae80ccc50> revanced-builder | revanced-builder | File "/app/src/downloader/download.py", line 130, in download revanced-builder | file_name, app_dl = self.latest_version(app, *kwargs) revanced-builder | │ │ │ └ {} revanced-builder | │ │ └ <src.app.APP object at 0x7f6ae80ccc50> revanced-builder | │ └ <function ApkMirror.latest_version at 0x7f6ae92bb560> revanced-builder | └ <src.downloader.apkmirror.ApkMirror object at 0x7f6ae26c1910> revanced-builder | revanced-builder | File "/app/src/downloader/apkmirror.py", line 125, in latest_version revanced-builder | return self.specific_version(app, "latest", APK_MIRROR_BASE_URL + max(version_urls)) revanced-builder | │ │ │ │ └ ['/apk/adobe/lightroom/lightroom-9-2-2-release/', '/apk/adobe/lightroom/lightroom-9-2-1-release/', '/apk/adobe/lightroom/ligh... revanced-builder | │ │ │ └ 'https://www.apkmirror.com' revanced-builder | │ │ └ <src.app.APP object at 0x7f6ae80ccc50> revanced-builder | │ └ <function ApkMirror.specific_version at 0x7f6ae92bb7e0> revanced-builder | └ <src.downloader.apkmirror.ApkMirror object at 0x7f6ae26c1910> revanced-builder | revanced-builder | File "/app/src/downloader/apkmirror.py", line 108, in specific_version revanced-builder | return self.extract_download_link(download_page, app.app_name) revanced-builder | │ │ │ │ └ 'lightroom' revanced-builder | │ │ │ └ <src.app.APP object at 0x7f6ae80ccc50> revanced-builder | │ │ └ 'https://www.apkmirror.com/apk/adobe/lightroom/lightroom-9-2-2-release/lightroom-photo-video-editor-9-2-2-3-android-apk-downl... revanced-builder | │ └ <function ApkMirror.extract_download_link at 0x7f6ae92bac00> revanced-builder | └ <src.downloader.apkmirror.ApkMirror object at 0x7f6ae26c1910> revanced-builder | revanced-builder | File "/app/src/downloader/apkmirror.py", line 40, in extract_download_link revanced-builder | download_button = self._extracted_search_div(page, "center") revanced-builder | │ │ └ 'https://www.apkmirror.com/apk/adobe/lightroom/lightroom-9-2-2-release/lightroom-photo-video-editor-9-2-2-3-android-apk-downl... revanced-builder | │ └ <staticmethod(<function ApkMirror._extracted_search_div at 0x7f6ae92bb740>)> revanced-builder | └ <src.downloader.apkmirror.ApkMirror object at 0x7f6ae26c1910> revanced-builder | revanced-builder | File "/app/src/downloader/apkmirror.py", line 81, in _extracted_search_div revanced-builder | handle_request_response(r, url) revanced-builder | │ │ └ 'https://www.apkmirror.com/apk/adobe/lightroom/lightroom-9-2-2-release/lightroom-photo-video-editor-9-2-2-3-android-apk-downl... revanced-builder | │ └ <Response [429]> revanced-builder | └ <function handle_request_response at 0x7f6ae9a07420> revanced-builder | revanced-builder | File "/app/src/utils.py", line 119, in handle_request_response revanced-builder | raise ScrapingError(msg, url=url) revanced-builder | │ │ └ 'https://www.apkmirror.com/apk/adobe/lightroom/lightroom-9-2-2-release/lightroom-photo-video-editor-9-2-2-3-android-apk-downl... revanced-builder | │ └ 'Unable to downloaded assets. Reason - <!DOCTYPE html>Just a moment...<meta http-equi... revanced-builder | └ <class 'src.exceptions.ScrapingError'> revanced-builder | revanced-builder | src.exceptions.ScrapingError: Unable to downloaded assets. Reason - <!DOCTYPE html>Just a moment...
revanced-builder exited with code 0

ENVS

GLOBAL_ARCHS_TO_BUILD=arm64-v8a
GLOBAL_CLI_DL=https://github.com/revanced/revanced-cli
GLOBAL_PATCHES_DL=https://github.com/revanced/revanced-patches
GLOBAL_PATCHES_JSON_DL=https://github.com/revanced/revanced-patches
GLOBAL_INTEGRATIONS_DL=https://github.com/revanced/revanced-integrations

Additional info

No response

IMXEren commented 7 months ago

I'd suggest you to post full env and not simply globals.

Anyways, it's cloudflare and no solutions. Just build in parts (6 apps per part).

ramanveerji commented 7 months ago

I'd suggest you to post full env and not simply globals.

Anyways, it's cloudflare and no solutions. Just build in parts (6 apps per part).

I am not using app specific envs. Only global and I build only 4 apps: yt, ytmusic, Twitter and Lightroom.

IMXEren commented 7 months ago

I meant about PATCH_APPS.

  1. How many runs reproduced the same outcome?

If you are still persistent in bypassing it, checkout the Browser PR.

nikhilbadyal commented 7 months ago

As @IMXEren explained already, you have patches too many times and now your requests are getting blocked. You can now either

  1. Wait
  2. Read this duplicate issue.