Skip to content

Bulk asynchronous downloader for multiple file hosts

fix: override URLs (AdobeLightroom)

NTFSvolumed75cd94b00f6
diff --git a/CHANGELOG.md b/CHANGELOG.md
index d8a31708c..86b3f4103 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -43,6 +43,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- Corrupted/mixed up video segments when downloading multiple concurrent HLS streams and `--subfolders.create` is `False`
+- `403 Forbidden` on all downloads (AdobeLightroom)
- URL matching (Anysex)
## [10.7.0] - 2026-08-29
diff --git a/cyberdrop_dl/crawlers/adobe_lightroom.py b/cyberdrop_dl/crawlers/adobe_lightroom.py
index 6bd4284ba..a09b5fe0b 100644
--- a/cyberdrop_dl/crawlers/adobe_lightroom.py
+++ b/cyberdrop_dl/crawlers/adobe_lightroom.py
@@ -83,7 +83,7 @@ class AdobeLightroomAPI(API):
except KeyError:
name = album["payload"]["name"]
- assets_url = album["base"] + album["links"]["/rels/space_album_images_videos"]["href"]
+ assets_url = _override_origin(album["base"]) + album["links"]["/rels/space_album_images_videos"]["href"]
return Album(album["id"], name, self.parse_url(assets_url))
async def images(self, assets_url: AbsoluteHttpURL) -> AsyncGenerator[map[Image]]:
@@ -99,7 +99,11 @@ class AdobeLightroomAPI(API):
if not next_href:
break
- next_page = self.parse_url(data["base"] + next_href)
+ next_page = self.parse_url(_override_origin(data["base"]) + next_href)
+
+
+def _override_origin(origin: str) -> str:
+ return origin.replace("photos.adobe.io/v2/", "lightroom.adobe.com/v2c/", 1)
def _parse_image(resource: dict[str, Any]) -> Image: