summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/myportfolio.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/extractor/myportfolio.py')
-rw-r--r--gallery_dl/extractor/myportfolio.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gallery_dl/extractor/myportfolio.py b/gallery_dl/extractor/myportfolio.py
index 8254118..7d23518 100644
--- a/gallery_dl/extractor/myportfolio.py
+++ b/gallery_dl/extractor/myportfolio.py
@@ -57,8 +57,8 @@ class MyportfolioGalleryExtractor(Extractor):
raise exception.NotFoundError()
page = response.text
- projects = text.extract(
- page, '<section class="project-covers', '</section>')[0]
+ projects = text.extr(
+ page, '<section class="project-covers', '</section>')
if projects:
data = {"_extractor": MyportfolioGalleryExtractor}