remove 'unstable' tests
This commit is contained in:
@@ -33,10 +33,6 @@ class GelbooruTagExtractor(GelbooruExtractor, booru.BooruTagExtractor):
|
|||||||
"""Extract images from gelbooru based on search-tags"""
|
"""Extract images from gelbooru based on search-tags"""
|
||||||
subcategory = "tag"
|
subcategory = "tag"
|
||||||
pattern = [r"(?:https?://)?(?:www\.)?gelbooru\.com/(?:index\.php)?\?page=post&s=list&tags=([^&]+)"]
|
pattern = [r"(?:https?://)?(?:www\.)?gelbooru\.com/(?:index\.php)?\?page=post&s=list&tags=([^&]+)"]
|
||||||
test = [("http://gelbooru.com/index.php?page=post&s=list&tags=heath_ledger", {
|
|
||||||
"url": "907cd80f0c1635b96eeb4b970c19f5ad9ab93414",
|
|
||||||
"keyword": "71a22b7434d326a44580bc933221c2c50fed8d4a",
|
|
||||||
})]
|
|
||||||
|
|
||||||
# TODO: find out how to access pools via gelbooru-api
|
# TODO: find out how to access pools via gelbooru-api
|
||||||
# class GelbooruPoolExtractor(GelbooruExtractor, booru.BooruPoolExtractor):
|
# class GelbooruPoolExtractor(GelbooruExtractor, booru.BooruPoolExtractor):
|
||||||
|
|||||||
@@ -19,10 +19,6 @@ class YandereTagExtractor(YandereExtractor, booru.BooruTagExtractor):
|
|||||||
"""Extract images from yandere based on search-tags"""
|
"""Extract images from yandere based on search-tags"""
|
||||||
subcategory = "tag"
|
subcategory = "tag"
|
||||||
pattern = [r"(?:https?://)?(?:www\.)?yande\.re/post\?tags=([^&]+)"]
|
pattern = [r"(?:https?://)?(?:www\.)?yande\.re/post\?tags=([^&]+)"]
|
||||||
test = [("https://yande.re/post?tags=yuuki_itsuka", {
|
|
||||||
"url": "a6df238d4657736eaae9840a0b6a68fb290aa6d5",
|
|
||||||
"keyword": "7699bf0fd1dad622c8806f6193fb79f12d40c138",
|
|
||||||
})]
|
|
||||||
|
|
||||||
class YanderePoolExtractor(YandereExtractor, booru.BooruPoolExtractor):
|
class YanderePoolExtractor(YandereExtractor, booru.BooruPoolExtractor):
|
||||||
"""Extract image-pools from yandere"""
|
"""Extract image-pools from yandere"""
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
import unittest
|
import unittest
|
||||||
from gallery_dl import extractor, jobs, config
|
from gallery_dl import extractor, jobs, config
|
||||||
|
|
||||||
class TestExttractors(unittest.TestCase):
|
class TestExtractors(unittest.TestCase):
|
||||||
|
|
||||||
def test_extractors(self):
|
def test_extractors(self):
|
||||||
config.load()
|
config.load()
|
||||||
|
|||||||
Reference in New Issue
Block a user