summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/lightroom.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/extractor/lightroom.py')
-rw-r--r--gallery_dl/extractor/lightroom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gallery_dl/extractor/lightroom.py b/gallery_dl/extractor/lightroom.py
index 8131db8..d202e20 100644
--- a/gallery_dl/extractor/lightroom.py
+++ b/gallery_dl/extractor/lightroom.py
@@ -47,7 +47,7 @@ class LightroomGalleryExtractor(Extractor):
url = "https://lightroom.adobe.com/shares/" + self.href
response = self.request(url)
album = json.loads(
- text.extract(response.text, "albumAttributes: ", "\n")[0]
+ text.extr(response.text, "albumAttributes: ", "\n")
)
images = self.images(album)