|
|
@ -64,7 +64,7 @@ class LivedoorExtractor(Extractor):
|
|
|
|
if not src:
|
|
|
|
if not src:
|
|
|
|
continue
|
|
|
|
continue
|
|
|
|
if "://livedoor.blogimg.jp/" in src:
|
|
|
|
if "://livedoor.blogimg.jp/" in src:
|
|
|
|
url = src.replace("-s.", ".")
|
|
|
|
url = src.replace("http:", "https:", 1).replace("-s.", ".")
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
url = text.urljoin(self.root, src)
|
|
|
|
url = text.urljoin(self.root, src)
|
|
|
|
name, _, ext = url.rpartition("/")[2].rpartition(".")
|
|
|
|
name, _, ext = url.rpartition("/")[2].rpartition(".")
|
|
|
|