[peertube] Extract files also from streamingPlaylists (#27728)
author0l-l0 <49962426+0l-l0@users.noreply.github.com>
Fri, 8 Jan 2021 20:09:38 +0000 (21:09 +0100)
committerGitHub <noreply@github.com>
Fri, 8 Jan 2021 20:09:38 +0000 (20:09 +0000)
commit170e1c19951ce6a87ce0e9157faa32b9a2efe708
treed66fb4ddd04e63f05c295794371fb9755b56cd84
parent61e669acff712175362bea01d42d7a154d300289
[peertube] Extract files also from streamingPlaylists (#27728)

JSON objects with an empty "files" tag seem to be a valid PeerTube API
response. In those cases the "files" arrays contained in the
"streamingPlaylists" members can be used instead.
closes #26002
closes #27586
youtube_dl/extractor/peertube.py