mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-22 02:32:33 +01:00
[35photo] simplify/remove tests for the 'genre' extractor
There is still a nice genre overview page (https://35photo.pro/genre/) but the individual sub-pages don't list photos anymore
This commit is contained in:
parent
4bc161ca0f
commit
77fda8190c
@ -1,6 +1,6 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Copyright 2019 Mike Fährmann
|
||||
# Copyright 2019-2020 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
|
||||
@ -143,19 +143,7 @@ class _35photoGenreExtractor(_35photoExtractor):
|
||||
directory_fmt = ("{category}", "Genre", "{genre}")
|
||||
archive_fmt = "g{genre_id}_{id}_{num}"
|
||||
pattern = r"(?:https?://)?(?:[a-z]+\.)?35photo\.pro/genre_(\d+)(/new/)?"
|
||||
test = (
|
||||
("https://35photo.pro/genre_109/", {
|
||||
"range": "1-30",
|
||||
}),
|
||||
("https://35photo.pro/genre_103/", {
|
||||
"range": "1-30",
|
||||
"count": 30,
|
||||
}),
|
||||
("https://35photo.pro/genre_103/new/", {
|
||||
"range": "1-30",
|
||||
"count": 30,
|
||||
}),
|
||||
)
|
||||
test = ("https://35photo.pro/genre_109/",)
|
||||
|
||||
def __init__(self, match):
|
||||
_35photoExtractor.__init__(self, match)
|
||||
|
@ -27,7 +27,6 @@ TRAVIS_SKIP = {
|
||||
|
||||
# temporary issues, etc.
|
||||
BROKEN = {
|
||||
"35photo",
|
||||
"mangapark",
|
||||
"photobucket",
|
||||
"worldthree",
|
||||
|
Loading…
Reference in New Issue
Block a user