[tumblr] ignore audio links from Spotify etc.

deviantart-rewrite
Mike Fährmann 5 years ago
parent b1cddce865
commit d5fbb2d9de
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

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

@ -30,7 +30,6 @@ BROKEN = {
"imgth",
"mangapark",
"mangoxo",
"tumblr",
}

Loading…
Cancel
Save