projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix W504 and disable W503 (closes #20863)
[youtube-dl]
/
youtube_dl
/
extractor
/
vevo.py
diff --git
a/youtube_dl/extractor/vevo.py
b/youtube_dl/extractor/vevo.py
index 890a149ead3234428a3f33d78d8af43365a278e2..232e05816074d7bf53b5fb07c1f3eb882fd4a1ac 100644
(file)
--- a/
youtube_dl/extractor/vevo.py
+++ b/
youtube_dl/extractor/vevo.py
@@
-200,7
+200,7
@@
class VevoIE(VevoBaseIE):
fatal=False)
# Some videos are only available via webpage (e.g.
fatal=False)
# Some videos are only available via webpage (e.g.
- # https://github.com/
rg3
/youtube-dl/issues/9366)
+ # https://github.com/
ytdl-org
/youtube-dl/issues/9366)
if not video_versions:
webpage = self._download_webpage(url, video_id)
json_data = self._extract_json(webpage, video_id)
if not video_versions:
webpage = self._download_webpage(url, video_id)
json_data = self._extract_json(webpage, video_id)
@@
-275,8
+275,8
@@
class VevoIE(VevoBaseIE):
genres = video_info.get('genres')
genre = (
genres = video_info.get('genres')
genre = (
- genres[0] if genres and isinstance(genres, list)
and
- isinstance(genres[0], compat_str) else None)
+ genres[0] if genres and isinstance(genres, list)
+
and
isinstance(genres[0], compat_str) else None)
is_explicit = video_info.get('isExplicit')
if is_explicit is True:
is_explicit = video_info.get('isExplicit')
if is_explicit is True: