diff options
| author | 2022-10-03 04:08:41 -0400 | |
|---|---|---|
| committer | 2022-10-03 04:08:41 -0400 | |
| commit | b2d8a54ecf4157570d00a8b974a779766822bf4b (patch) | |
| tree | d7b6db11c9b6add2c1a714fcfc95ab62b11e126c /gallery_dl/extractor/myportfolio.py | |
| parent | e6b82556343116256be047ab7099bedd9063f66a (diff) | |
New upstream version 1.23.2upstream/1.23.2
Diffstat (limited to 'gallery_dl/extractor/myportfolio.py')
| -rw-r--r-- | gallery_dl/extractor/myportfolio.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gallery_dl/extractor/myportfolio.py b/gallery_dl/extractor/myportfolio.py index f06ab70..8254118 100644 --- a/gallery_dl/extractor/myportfolio.py +++ b/gallery_dl/extractor/myportfolio.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -# Copyright 2018-2021 Mike Fährmann +# Copyright 2018-2022 Mike Fährmann # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as @@ -104,4 +104,7 @@ class MyportfolioGalleryExtractor(Extractor): @staticmethod def images(page): """Extract and return a list of all image-urls""" - return list(text.extract_iter(page, 'js-lightbox" data-src="', '"')) + return ( + list(text.extract_iter(page, 'js-lightbox" data-src="', '"')) or + list(text.extract_iter(page, 'data-src="', '"')) + ) |
