Skip to content

Commit

Permalink
Revert "[vzaar] Fix videos with empty title (closes #21606)"
Browse files Browse the repository at this point in the history
This reverts commit 7c345d8.
  • Loading branch information
Lamieur committed Apr 20, 2020
1 parent 2f4cb28 commit 4a01381
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions youtube_dl/extractor/vzaar.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@ class VzaarIE(InfoExtractor):
'ext': 'mp3',
'title': 'MP3',
},
}, {
# with null videoTitle
'url': 'https://view.vzaar.com/20313539/download',
'only_matching': True,
}]

@staticmethod
Expand All @@ -49,7 +45,7 @@ def _real_extract(self, url):
video_data = self._download_json(
'http://view.vzaar.com/v2/%s/video' % video_id, video_id)

title = video_data.get('videoTitle') or video_id
title = video_data['videoTitle']

formats = []

Expand Down

0 comments on commit 4a01381

Please sign in to comment.