fixed the module for pixhost
This commit is contained in:
4
gallery_dl/extractor/imagehosts.py
Normal file → Executable file
4
gallery_dl/extractor/imagehosts.py
Normal file → Executable file
@@ -312,8 +312,8 @@ class PixhostImageExtractor(ImagehostImageExtractor):
|
|||||||
cookies = {"pixhostads": "1", "pixhosttest": "1"}
|
cookies = {"pixhostads": "1", "pixhosttest": "1"}
|
||||||
|
|
||||||
def get_info(self, page):
|
def get_info(self, page):
|
||||||
url , pos = text.extract(page, "src: '", "'")
|
url , pos = text.extract(page, "class=\"image-img\" src=\"", "\"")
|
||||||
filename, pos = text.extract(page, "title: '", "'", pos)
|
filename, pos = text.extract(page, "alt=\"", "\"", pos)
|
||||||
return url, filename
|
return url, filename
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user