[PeerTube] Make video_description download non-fatal

This commit is contained in:
3risian 2020-01-08 11:31:46 +11:00 committed by GitHub
parent d0a86c02cc
commit 3e6e70932a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -494,7 +494,7 @@ class PeerTubeIE(InfoExtractor):
'https://%s/api/v1/videos/%s' % (host, video_id), video_id)
video_description = self._download_json(
'https://%s/api/v1/videos/%s/description' % (host, video_id), video_id)
'https://%s/api/v1/videos/%s/description' % (host, video_id), video_id, fatal=False)
video_captions = self._download_json(
'https://%s/api/v1/videos/%s/captions' % (host, video_id), video_id)