1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2025-01-06 05:07:54 +01:00

80 character is a soft limit

This commit is contained in:
Francesco Frassinelli 2020-03-18 00:00:04 +01:00
parent 686f8f60ba
commit 0a21514afc

View File

@ -549,17 +549,15 @@ class RaiPlayRadioIE(RaiPlayRadioBaseIE):
_VALID_URL = r'%s/audio/.+?-(?P<id>%s)\.html' % (
RaiPlayRadioBaseIE._BASE, RaiBaseIE._UUID_RE)
_TEST = {
'url': 'https://www.raiplayradio.it/audio/2019/07/'
'RADIO3---LEZIONI-DI-MUSICA-'
'36b099ff-4123-4443-9bf9-38e43ef5e025.html',
'url': 'https://www.raiplayradio.it/audio/2019/07/RADIO3---LEZIONI-DI-MUSICA-36b099ff-4123-4443-9bf9-38e43ef5e025.html',
'info_dict': {
'id': '36b099ff-4123-4443-9bf9-38e43ef5e025',
'ext': 'mp3',
'title': 'Dal "Chiaro di luna" al "Clair de lune", '
'prima parte con Giovanni Bietti',
'thumbnail': 'https://www.raiplayradio.it/cropgd/400x400/dl/'
'img/2019/07/08/1562590329054_luna.jpg',
'language': 'it'}}
'thumbnail': 'https://www.raiplayradio.it/cropgd/400x400/dl/img/2019/07/08/1562590329054_luna.jpg',
'language': 'it',
}}
def _real_extract(self, url):
audio_id = self._match_id(url)
@ -573,14 +571,14 @@ class RaiPlayRadioPlaylistIE(RaiPlayRadioBaseIE):
_VALID_URL = r'%s/playlist/.+?-(?P<id>%s)\.html' % (
RaiPlayRadioBaseIE._BASE, RaiBaseIE._UUID_RE)
_TEST = {
'url': 'https://www.raiplayradio.it/playlist/2017/12/'
'Alice-nel-paese-delle-meraviglie-'
'72371d3c-d998-49f3-8860-d168cfdf4966.html',
'url': 'https://www.raiplayradio.it/playlist/2017/12/Alice-nel-paese-delle-meraviglie-72371d3c-d998-49f3-8860-d168cfdf4966.html',
'info_dict': {
'id': '72371d3c-d998-49f3-8860-d168cfdf4966',
'title': "Alice nel paese delle meraviglie",
'description': "di Lewis Carrol letto da Aldo Busi"},
'playlist_count': 11}
'description': "di Lewis Carrol letto da Aldo Busi",
},
'playlist_count': 11,
}
def _real_extract(self, url):
playlist_id = self._match_id(url)