]> git.bitcoin.ninja Git - youtube-dl/commit
Fix issue downloading facebook videos
authorShai Coleman <shai.coleman@storyful.com>
Wed, 22 Jun 2016 11:52:15 +0000 (12:52 +0100)
committerShai Coleman <shai.coleman@storyful.com>
Wed, 22 Jun 2016 11:52:15 +0000 (12:52 +0100)
commitca74c90bf55cfb16f5eadc3a63e9389202ee80f5
tree1130f8bd0a3afbf33609e3deb36ca41f09721ca3
parent7cfc1e2a104977c41f6008885b36b96bcb2b146e
Fix issue downloading facebook videos

youtube-dl expects the format items to be returned as a list,
but when there's only one item Facebook returns a dict instead,
this wraps the dict in a list if necessary
youtube_dl/extractor/facebook.py