From 85a2b2ae59cb300c65cc18474dbe919e04f65398 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Wed, 27 Sep 2017 21:14:22 +0200 Subject: [PATCH] [khinsider] fix extraction --- gallery_dl/extractor/deviantart.py | 2 +- gallery_dl/extractor/khinsider.py | 4 ++-- test/test_extractors.py | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/gallery_dl/extractor/deviantart.py b/gallery_dl/extractor/deviantart.py index 2d3670f1..e7fb9dae 100644 --- a/gallery_dl/extractor/deviantart.py +++ b/gallery_dl/extractor/deviantart.py @@ -292,7 +292,7 @@ class DeviantartCollectionExtractor(DeviantartExtractor): pattern = [r"(?:https?://)?([^.]+)\.deviantart\.com" r"/favourites/(\d+)/([^/?&#]+)"] test = [("http://rosuuri.deviantart.com/favourites/58951174/Useful", { - "url": "d5d930374c0f993437c70624c5e0348e9f23f601", + "url": "f43b202011483e06998db1891e4b62381fabd64a", "keyword": "36f8e18cf6cf59c4eb17141b7f56fc075ab3b68c", })] diff --git a/gallery_dl/extractor/khinsider.py b/gallery_dl/extractor/khinsider.py index 932655e6..78ac474e 100644 --- a/gallery_dl/extractor/khinsider.py +++ b/gallery_dl/extractor/khinsider.py @@ -59,8 +59,8 @@ class KhinsiderSoundtrackExtractor(AsynchronousExtractor): if pos == -1: raise exception.NotFoundError("soundtrack") num = 0 - for url in text.extract_iter(page, '\r\n\t\t\r\n\r\n\t \t", "") url , pos = text.extract( diff --git a/test/test_extractors.py b/test/test_extractors.py index 0f9079d2..16b03897 100644 --- a/test/test_extractors.py +++ b/test/test_extractors.py @@ -69,7 +69,6 @@ skip = [ "imgtrex", "luscious", # "high load" "pawoo", - "coreimg", # "Name or service not known" "mangahere", # unstable; sometimes sends empty responses ] # enable selective testing for direct calls