[imgspice] fix extraction

This commit is contained in:
Mike Fährmann
2017-09-26 17:08:02 +02:00
parent 9c138dfc1f
commit 8e14714c2b
2 changed files with 4 additions and 1 deletions

View File

@@ -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)

View File

@@ -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: