From 23de5639773f4e4c96e8059e1a9ce410cb28724d Mon Sep 17 00:00:00 2001 From: CeruleanSky Date: Sat, 27 Jul 2019 02:25:50 -0400 Subject: [PATCH] [dlive] extend regex to support VID with hyphens Some VIDs contain hyphens, so modified _VALID_URL accordingly. --- youtube_dl/extractor/dlive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/dlive.py b/youtube_dl/extractor/dlive.py index 8787f15a6..f9f2e17c9 100644 --- a/youtube_dl/extractor/dlive.py +++ b/youtube_dl/extractor/dlive.py @@ -9,7 +9,7 @@ from ..utils import int_or_none class DLiveVODIE(InfoExtractor): IE_NAME = 'dlive:vod' - _VALID_URL = r'https?://(?:www\.)?dlive\.tv/p/(?P.+?)\+(?P[a-zA-Z0-9]+)' + _VALID_URL = r'https?://(?:www\.)?dlive\.tv/p/(?P.+?)\+(?P[a-zA-Z0-9-]+)' _TEST = { 'url': 'https://dlive.tv/p/pdp+3mTzOl4WR', 'info_dict': {