mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-22 10:42:34 +01:00
[8chan] fix image urls
This commit is contained in:
parent
729d2d8b20
commit
1244c933a1
@ -18,4 +18,4 @@ class Extractor(BasicExtractor):
|
|||||||
text = self.request(url).text
|
text = self.request(url).text
|
||||||
for match in re.finditer(self.regex, text):
|
for match in re.finditer(self.regex, text):
|
||||||
url, prefix, fullname, name = match.group(1, 2, 4, 5)
|
url, prefix, fullname, name = match.group(1, 2, 4, 5)
|
||||||
yield ("https://www.8chan.co" + url, prefix + "-" + unquote(fullname or name))
|
yield (url, prefix + "-" + unquote(fullname or name))
|
||||||
|
Loading…
Reference in New Issue
Block a user