[PeerTube] Make caption metadata download non-fatal
This commit is contained in:
parent
b31f3dc2dc
commit
05a1a553b9
@ -487,7 +487,7 @@ class PeerTubeIE(InfoExtractor):
|
||||
|
||||
def _get_subtitles(self, host, video_id):
|
||||
video_captions = self._download_json(
|
||||
'https://%s/api/v1/videos/%s/captions' % (host, video_id), video_id)
|
||||
'https://%s/api/v1/videos/%s/captions' % (host, video_id), video_id, fatal=False)
|
||||
|
||||
subtitles = {}
|
||||
for entry in video_captions.get('data'):
|
||||
|
Loading…
x
Reference in New Issue
Block a user