youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit ff059017c0650e9635bbbc0565a7ec5f27f16615
parent f22ba4bd60e9b4deeb1ca3e1f8162e607dc9648e
Author: Sergey M․ <dstftw@gmail.com>
Date:   Sun,  6 Mar 2016 04:30:19 +0600

[YoutubeDL] Fix typo in m3u8_native fixup

Diffstat:
Myoutube_dl/YoutubeDL.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py @@ -1672,7 +1672,7 @@ class YoutubeDL(object): else: assert fixup_policy in ('ignore', 'never') - if info_dict.get('protocol') == 'm3u8_native' or info_dict.get('protocol') == 'm3u8' and self._downloader.params.get('hls_prefer_native', False): + if info_dict.get('protocol') == 'm3u8_native' or info_dict.get('protocol') == 'm3u8' and self.params.get('hls_prefer_native', False): if fixup_policy == 'warn': self.report_warning('%s: malformated aac bitstream.' % ( info_dict['id']))