1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-23 03:02:50 +01:00

[seisoparty] also extract files hosted on 'cdn-2' servers (#1635)

This commit is contained in:
Mike Fährmann 2021-06-27 22:55:09 +02:00
parent 267bbf5996
commit e4db1bad14
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -25,7 +25,7 @@ class SeisopartyExtractor(Extractor):
Extractor.__init__(self, match)
self.user_name = None
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):
for post in self.posts():
@ -115,6 +115,10 @@ class SeisopartyPostExtractor(SeisopartyExtractor):
"username": "",
},
}),
("https://seiso.party/post/patreon/429/95949", {
"pattern": r"https://cdn-2\.seiso\.party/files/patreon/95949/",
"count": 2,
}),
)
def __init__(self, match):