[tumblr] ignore audio links from Spotify etc.
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
@@ -30,7 +30,6 @@ BROKEN = {
|
|||||||
"imgth",
|
"imgth",
|
||||||
"mangapark",
|
"mangapark",
|
||||||
"mangoxo",
|
"mangoxo",
|
||||||
"tumblr",
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user