diff options
| author | Sergey M․ <dstftw@gmail.com> | 2017-05-01 01:23:05 +0700 | 
|---|---|---|
| committer | Sergey M․ <dstftw@gmail.com> | 2017-05-01 01:23:05 +0700 | 
| commit | 74da856544177c15d95ffa78c5eda4d7089f8efd (patch) | |
| tree | ea5f539ba7d7d25ba4ead09ed28aaad8f32edf7f | |
| parent | 9edf47df7bfbcdd67bce68ea04865aa1f51df2f6 (diff) | |
[infoq] Make audio format extraction non fatal (closes #12938)
| -rw-r--r-- | youtube_dl/extractor/infoq.py | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/youtube_dl/extractor/infoq.py b/youtube_dl/extractor/infoq.py index 9fb71e8ef..fe425e786 100644 --- a/youtube_dl/extractor/infoq.py +++ b/youtube_dl/extractor/infoq.py @@ -87,8 +87,8 @@ class InfoQIE(BokeCCBaseIE):      def _extract_http_audio(self, webpage, video_id):          fields = self._hidden_inputs(webpage) -        http_audio_url = fields['filename'] -        if http_audio_url is None: +        http_audio_url = fields.get('filename') +        if not http_audio_url:              return []          cookies_header = {'Cookie': self._extract_cookies(webpage)} | 
