[infoq] Make audio format extraction non fatal (closes #12938)

pull/10830/merge
Sergey M․ 8 years ago
parent 9edf47df7b
commit 74da856544
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

@ -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)}

Loading…
Cancel
Save