1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-06-02 18:39:29 +00:00

use mp4 extension for patreon-hosted videos

This commit is contained in:
Chris Putnam 2021-01-22 01:45:23 -06:00
parent 456987e022
commit 271426aa58

View file

@ -160,7 +160,8 @@ class PatreonIE(InfoExtractor):
if post_file.get('name') == 'video':
# single video embed
info.update({
'url': post_file['url']
'ext': 'mp4',
'url': post_file['url'],
})
else:
# video is attached as a file