From c51fbd72ba08433cd0374aa7e69e0e0ee1b8106f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Mon, 13 Jul 2020 22:57:48 +0200 Subject: [PATCH] update extractor test results --- gallery_dl/extractor/hypnohub.py | 2 +- gallery_dl/extractor/mastodon.py | 2 +- gallery_dl/extractor/pururin.py | 2 +- gallery_dl/extractor/wallhaven.py | 2 +- gallery_dl/extractor/weibo.py | 4 +--- 5 files changed, 5 insertions(+), 7 deletions(-) diff --git a/gallery_dl/extractor/hypnohub.py b/gallery_dl/extractor/hypnohub.py index 860cebd5..17f9a88c 100644 --- a/gallery_dl/extractor/hypnohub.py +++ b/gallery_dl/extractor/hypnohub.py @@ -23,7 +23,7 @@ class HypnohubTagExtractor(booru.TagMixin, HypnohubExtractor): pattern = (r"(?:https?://)?(?:www\.)?hypnohub\.net" r"/post\?(?:[^&#]*&)*tags=(?P[^&#]+)") test = ("https://hypnohub.net/post?tags=gonoike_biwa", { - "url": "0deaf1a2f832cfc4354c531259b949e850da1e7e", + "url": "2848abe3e433ad39bfdf5be5874682faaccea5be", }) diff --git a/gallery_dl/extractor/mastodon.py b/gallery_dl/extractor/mastodon.py index fa1fecc6..ac17cb02 100644 --- a/gallery_dl/extractor/mastodon.py +++ b/gallery_dl/extractor/mastodon.py @@ -212,7 +212,7 @@ EXTRACTORS = { "client-secret": "DdrODTHs_XoeOsNVXnILTMabtdpWrWOAtrmw91wU1zI", "test-user" : ("https://mastodon.social/@jk", { "pattern": r"https://files.mastodon.social/media_attachments" - r"/files/\d+/\d+/\d+/original/\w+", + r"/files/(\d+/){3,}original/\w+", "range": "1-60", "count": 60, }), diff --git a/gallery_dl/extractor/pururin.py b/gallery_dl/extractor/pururin.py index 721fc2f1..26a5cd9f 100644 --- a/gallery_dl/extractor/pururin.py +++ b/gallery_dl/extractor/pururin.py @@ -36,7 +36,7 @@ class PururinGalleryExtractor(GalleryExtractor): "convention": "C92", "rating" : float, "uploader" : "demo", - "scanlator" : "", + "scanlator" : "mrwayne", "lang" : "en", "language" : "English", } diff --git a/gallery_dl/extractor/wallhaven.py b/gallery_dl/extractor/wallhaven.py index 043da0b5..20980ac9 100644 --- a/gallery_dl/extractor/wallhaven.py +++ b/gallery_dl/extractor/wallhaven.py @@ -34,7 +34,7 @@ class WallhavenSearchExtractor(WallhavenExtractor): (("https://wallhaven.cc/search?q=id%3A87" "&categories=111&purity=100&sorting=date_added&order=asc&page=3"), { "pattern": r"https://w.wallhaven.cc/full/\w\w/wallhaven-\w+\.\w+", - "count": "<= 10", + "count": "<= 20", }), ) diff --git a/gallery_dl/extractor/weibo.py b/gallery_dl/extractor/weibo.py index d1ad3883..0b1b2d93 100644 --- a/gallery_dl/extractor/weibo.py +++ b/gallery_dl/extractor/weibo.py @@ -135,9 +135,7 @@ class WeiboStatusExtractor(WeiboExtractor): "exception": exception.NotFoundError, }), # non-numeric status ID (#664) - ("https://weibo.com/3314883543/Iy7fj4qVg", { - "pattern": r"https?://f.video.weibocdn.com/\w+\.mp4\?label=mp4_hd", - }), + ("https://weibo.com/3314883543/Iy7fj4qVg"), ("https://m.weibo.cn/status/4339748116375525"), ("https://m.weibo.cn/5746766133/4339748116375525"), )