projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e61ac1a
)
[vzaar] Fix videos with empty title (closes #21606)
author
Sergey M․
<dstftw@gmail.com>
Wed, 3 Jul 2019 16:16:40 +0000
(23:16 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Wed, 3 Jul 2019 16:16:40 +0000
(23:16 +0700)
youtube_dl/extractor/vzaar.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/vzaar.py
b/youtube_dl/extractor/vzaar.py
index 6000671c31bc399a405f03a0064996287d46fe3e..3336e6c152f80212468cc950c8da662ddf5998db 100644
(file)
--- a/
youtube_dl/extractor/vzaar.py
+++ b/
youtube_dl/extractor/vzaar.py
@@
-32,6
+32,10
@@
class VzaarIE(InfoExtractor):
'ext': 'mp3',
'title': 'MP3',
},
+ }, {
+ # with null videoTitle
+ 'url': 'https://view.vzaar.com/20313539/download',
+ 'only_matching': True,
}]
@staticmethod
@@
-45,7
+49,7
@@
class VzaarIE(InfoExtractor):
video_data = self._download_json(
'http://view.vzaar.com/v2/%s/video' % video_id, video_id)
- title = video_data
['videoTitle']
+ title = video_data
.get('videoTitle') or video_id
formats = []