From 0ba93650e0c5a847d28673cabd6ca6f6f2399015 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Sat, 14 Jul 2018 08:39:23 +0200 Subject: [PATCH] [8chan] replace unit test URL the other thread is no longer accessible --- gallery_dl/extractor/8chan.py | 8 ++++---- test/test_results.py | 1 - 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/gallery_dl/extractor/8chan.py b/gallery_dl/extractor/8chan.py index f323db8d..7c266a43 100644 --- a/gallery_dl/extractor/8chan.py +++ b/gallery_dl/extractor/8chan.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -# Copyright 2014-2017 Mike Fährmann +# Copyright 2014-2018 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 @@ -16,9 +16,9 @@ class InfinitychanThreadExtractor(chan.ChanThreadExtractor): category = "8chan" filename_fmt = "{time}-{filename}{ext}" pattern = [r"(?:https?://)?(?:www\.)?8ch\.net/([^/]+)/res/(\d+)"] - test = [("https://8ch.net/wh40k/res/1.html", { - "url": "9220c79950d3f9cdd2c0436e816aec6b8342fac1", - "keyword": "df5773339c5864c71b63fc26ca60ea7098b83cb1", + test = [("https://8ch.net/builders/res/3.html", { + "url": "5d85c0509f907f217aea379f862b41bf3d01f645", + "keyword": "c065d10c3552b2cb663579a8e88cf0777b1b770b", })] api_url = "https://8ch.net/{board}/res/{thread}.json" file_url = "https://media.8ch.net/{board}/src/{tim}{ext}" diff --git a/test/test_results.py b/test/test_results.py index 63fffd68..045de813 100644 --- a/test/test_results.py +++ b/test/test_results.py @@ -22,7 +22,6 @@ TRAVIS_SKIP = { # temporary issues, etc. BROKEN = { - "8chan", "subapics", "whatisthisimnotgoodwithcomputers", }