mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-25 04:02:32 +01:00
prevent flake8 errors from comments looking like type annotations
This commit is contained in:
parent
2d6724180b
commit
09cc9dbec0
@ -108,11 +108,11 @@ class TumblrExtractor(Extractor):
|
||||
del photo["alt_sizes"]
|
||||
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/"):
|
||||
yield self._prepare(url, post)
|
||||
|
||||
url = post.get("video_url") # type: "video"
|
||||
url = post.get("video_url") # type "video"
|
||||
if url:
|
||||
yield self._prepare(_original_video(url), post)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user