mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-23 11:12:40 +01:00
[seisoparty] also extract files hosted on 'cdn-2' servers (#1635)
This commit is contained in:
parent
267bbf5996
commit
e4db1bad14
@ -25,7 +25,7 @@ class SeisopartyExtractor(Extractor):
|
|||||||
Extractor.__init__(self, match)
|
Extractor.__init__(self, match)
|
||||||
self.user_name = None
|
self.user_name = None
|
||||||
self._find_files = re.compile(
|
self._find_files = re.compile(
|
||||||
r'href="(https://cdn\.seiso\.party/files/[^"]+)').findall
|
r'href="(https://cdn(?:-\d)?\.seiso\.party/files/[^"]+)').findall
|
||||||
|
|
||||||
def items(self):
|
def items(self):
|
||||||
for post in self.posts():
|
for post in self.posts():
|
||||||
@ -115,6 +115,10 @@ class SeisopartyPostExtractor(SeisopartyExtractor):
|
|||||||
"username": "雨",
|
"username": "雨",
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
|
("https://seiso.party/post/patreon/429/95949", {
|
||||||
|
"pattern": r"https://cdn-2\.seiso\.party/files/patreon/95949/",
|
||||||
|
"count": 2,
|
||||||
|
}),
|
||||||
)
|
)
|
||||||
|
|
||||||
def __init__(self, match):
|
def __init__(self, match):
|
||||||
|
Loading…
Reference in New Issue
Block a user