|
|
@ -108,11 +108,11 @@ class TumblrExtractor(Extractor):
|
|
|
|
del photo["alt_sizes"]
|
|
|
|
del photo["alt_sizes"]
|
|
|
|
yield self._prepare_image(photo["url"], post)
|
|
|
|
yield self._prepare_image(photo["url"], post)
|
|
|
|
|
|
|
|
|
|
|
|
url = post.get("audio_url") # type: "audio"
|
|
|
|
url = post.get("audio_url") # type "audio"
|
|
|
|
if url and url.startswith("https://a.tumblr.com/"):
|
|
|
|
if url and url.startswith("https://a.tumblr.com/"):
|
|
|
|
yield self._prepare(url, post)
|
|
|
|
yield self._prepare(url, post)
|
|
|
|
|
|
|
|
|
|
|
|
url = post.get("video_url") # type: "video"
|
|
|
|
url = post.get("video_url") # type "video"
|
|
|
|
if url:
|
|
|
|
if url:
|
|
|
|
yield self._prepare(_original_video(url), post)
|
|
|
|
yield self._prepare(_original_video(url), post)
|
|
|
|
|
|
|
|
|
|
|
|