[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
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) yield self._prepare_image(photo["url"], post)
url = post.get("audio_url") # type: "audio" url = post.get("audio_url") # type: "audio"
if url: 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"

View File

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