mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-10 00:25:06 +00:00
[infoq] Make audio format extraction non fatal (closes #12938)
This commit is contained in:
parent
9edf47df7b
commit
74da856544
1 changed files with 2 additions and 2 deletions
|
@ -87,8 +87,8 @@ def _extract_http_video(self, webpage):
|
|||
|
||||
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…
Reference in a new issue