From f98e3e80026f7d108e13ef55d8de60f55d81d672 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Fri, 1 Sep 2017 16:29:52 +0200 Subject: [PATCH] [luscious] fix tag extraction --- gallery_dl/extractor/deviantart.py | 2 +- gallery_dl/extractor/luscious.py | 2 +- test/test_extractors.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gallery_dl/extractor/deviantart.py b/gallery_dl/extractor/deviantart.py index 117481c3..77fdbe2b 100644 --- a/gallery_dl/extractor/deviantart.py +++ b/gallery_dl/extractor/deviantart.py @@ -290,7 +290,7 @@ class DeviantartCollectionExtractor(DeviantartExtractor): pattern = [r"(?:https?://)?([^.]+)\.deviantart\.com" r"/favourites/(\d+)/([^/?&#]+)"] test = [("http://rosuuri.deviantart.com/favourites/58951174/Useful", { - "url": "22a3858a1efb150d11c3f4e63cf9082ad70c6ea0", + "url": "f0c12581060aab9699289817b39804d9eb88f675", "keyword": "e0ed920fb3dfdad9294be592be2eeb3dc1258a6a", })] diff --git a/gallery_dl/extractor/luscious.py b/gallery_dl/extractor/luscious.py index 2e0146a3..7e2c3e79 100644 --- a/gallery_dl/extractor/luscious.py +++ b/gallery_dl/extractor/luscious.py @@ -51,8 +51,8 @@ class LusciousAlbumExtractor(AsynchronousExtractor): def get_metadata(self, page): """Collect metadata for extractor-job""" data = text.extract_all(page, ( - ("title" , '"og:title" content="', '"'), ("tags" , '', ''), ("count" , '

', ' '), (None , '

Section:', ''), diff --git a/test/test_extractors.py b/test/test_extractors.py index db4e2f01..e71047a3 100644 --- a/test/test_extractors.py +++ b/test/test_extractors.py @@ -66,7 +66,7 @@ skip = [ "exhentai", "kissmanga", "mangafox", "dynastyscans", "nijie", "archivedmoe", "archiveofsins", "thebarchive", # temporary issues - "luscious", # ssl cert issues + "imgtrex", # 504 ] # enable selective testing for direct calls if __name__ == '__main__' and len(sys.argv) > 1: