1
0
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:
Mike Fährmann 2020-03-24 01:41:06 +01:00
parent 4bc161ca0f
commit 77fda8190c
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88
2 changed files with 2 additions and 15 deletions

View File

@ -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)

View File

@ -27,7 +27,6 @@ TRAVIS_SKIP = {
# temporary issues, etc.
BROKEN = {
"35photo",
"mangapark",
"photobucket",
"worldthree",