[tumblr] ignore audio links from Spotify etc.

This commit is contained in:
Mike Fährmann 2019-09-07 15:04:53 +02:00
parent b1cddce865
commit d5fbb2d9de
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88
2 changed files with 1 additions and 2 deletions

View File

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

View File

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