1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-26 02:14:32 +01:00

split regex

This commit is contained in:
Surkal 2020-09-07 12:24:28 +02:00
parent 9d037f4f1d
commit e062ec875d

View File

@ -37,7 +37,12 @@ class LumniIE(InfoExtractor):
class LumniPlaylistIE(InfoExtractor): class LumniPlaylistIE(InfoExtractor):
_VALID_URL = r'https?://(?:www\.)?lumni\.fr/(?:dossier|programme|serie)/(?P<id>[0-9a-z-]+)' _VALID_URL = r'''(?x)
https?://
(?:www\.)?lumni\.fr/
(?:dossier|programme|serie)/
(?P<id>[0-9a-z-]+)
'''
_TESTS = [{ _TESTS = [{
'url': 'https://www.lumni.fr/dossier/les-fondamentaux-vocabulaire', 'url': 'https://www.lumni.fr/dossier/les-fondamentaux-vocabulaire',
'info_dict': { 'info_dict': {