mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-12-02 05:07:55 +01:00
Avoid guessing filetype
This commit is contained in:
parent
a58aafd664
commit
603bce83e1
@ -532,14 +532,12 @@ class RaiPlayRadioBaseIE(InfoExtractor):
|
||||
webpage = self._download_webpage(url, uid)
|
||||
for attrs in self.parse_list(webpage):
|
||||
title = attrs['data-title'].strip()
|
||||
webpage = urljoin(url, attrs['data-mediapolis'])
|
||||
audio_url = compat_str(self._request_webpage(
|
||||
webpage, title).geturl())
|
||||
audio_url = urljoin(url, attrs['data-mediapolis'])
|
||||
yield {
|
||||
'url': audio_url,
|
||||
'id': attrs['data-uniquename'].lstrip('ContentItem-'),
|
||||
'title': title,
|
||||
'ext': determine_ext(audio_url),
|
||||
'ext': 'mp3',
|
||||
'thumbnail': urljoin(url, attrs['data-image']),
|
||||
'language': 'it'}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user