summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/imagebam.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/extractor/imagebam.py')
-rw-r--r--gallery_dl/extractor/imagebam.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gallery_dl/extractor/imagebam.py b/gallery_dl/extractor/imagebam.py
index 7cd67d6..f993db8 100644
--- a/gallery_dl/extractor/imagebam.py
+++ b/gallery_dl/extractor/imagebam.py
@@ -83,8 +83,8 @@ class ImagebamGalleryExtractor(ImagebamExtractor):
@staticmethod
def metadata(page):
- return {"title": text.unescape(text.extract(
- page, 'id="gallery-name">', '<')[0].strip())}
+ return {"title": text.unescape(text.extr(
+ page, 'id="gallery-name">', '<').strip())}
def images(self, page):
findall = re.compile(r'<a href="https://www\.imagebam\.com'