mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-22 18:53:21 +01:00
[tumblr] support /archive URLs
This commit is contained in:
parent
aa1de70da0
commit
b4eca2633e
@ -28,7 +28,7 @@ class SenmangaChapterExtractor(Extractor):
|
||||
}),
|
||||
("http://raw.senmanga.com/Love-Lab/2016-03/1", {
|
||||
"url": "8347b9f00c14b864dd3c19a1f5ae52adb2ef00de",
|
||||
"keyword": "4e72e4ade57671ad0af9c8d81feeff4259d5bbec",
|
||||
"keyword": "8a8ab2529ba2edfc83a6b3a8bede1d6c580db7b4",
|
||||
}),
|
||||
]
|
||||
root = "https://raw.senmanga.com"
|
||||
|
@ -162,7 +162,7 @@ class TumblrExtractor(Extractor):
|
||||
class TumblrUserExtractor(TumblrExtractor):
|
||||
"""Extractor for all images from a tumblr-user"""
|
||||
subcategory = "user"
|
||||
pattern = [BASE_PATTERN + r"(?:/page/\d+)?/?$"]
|
||||
pattern = [BASE_PATTERN + r"(?:/page/\d+|/archive)?/?$"]
|
||||
test = [
|
||||
("http://demo.tumblr.com/", {
|
||||
"pattern": (r"https://\d+\.media\.tumblr\.com"
|
||||
@ -177,6 +177,8 @@ class TumblrUserExtractor(TumblrExtractor):
|
||||
"options": (("posts", "all"), ("external", True),
|
||||
("inline", True), ("reblogs", True))
|
||||
}),
|
||||
("https://demo.tumblr.com/page/2", None),
|
||||
("https://demo.tumblr.com/archive", None),
|
||||
("tumblr:http://www.b-authentique.com/", None),
|
||||
("tumblr:www.b-authentique.com", None),
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user