[imgspice] fix extraction
This commit is contained in:
@@ -286,7 +286,7 @@ class ImgspiceImageExtractor(ImagehostImageExtractor):
|
||||
|
||||
def get_info(self, page):
|
||||
filename, pos = text.extract(page, '<td nowrap>', '</td>')
|
||||
url , pos = text.extract(page, '<img src="http://img', '"', pos)
|
||||
url , pos = text.extract(page, '<img src="https://img', '"', pos)
|
||||
return "http://img" + url, text.unescape(filename)
|
||||
|
||||
|
||||
|
||||
@@ -66,8 +66,11 @@ skip = [
|
||||
"exhentai", "kissmanga", "mangafox", "dynastyscans", "nijie",
|
||||
"archivedmoe", "archiveofsins", "thebarchive",
|
||||
# temporary issues
|
||||
"imgtrex",
|
||||
"luscious", # "high load"
|
||||
"pawoo",
|
||||
"coreimg", # "Name or service not known"
|
||||
"mangahere", # unstable; sometimes sends empty responses
|
||||
]
|
||||
# enable selective testing for direct calls
|
||||
if __name__ == '__main__' and len(sys.argv) > 1:
|
||||
|
||||
Reference in New Issue
Block a user