From: ping Date: Tue, 1 Sep 2015 03:11:14 +0000 (+0800) Subject: [vlive] Add info about www. to m. redirects for mobile X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=d14f0c45fc8ab447d66caf7a3b9ce0888446eb7c;p=youtube-dl.git [vlive] Add info about www. to m. redirects for mobile --- diff --git a/youtube_dl/extractor/vlive.py b/youtube_dl/extractor/vlive.py index 17ae3b964..a456f8217 100644 --- a/youtube_dl/extractor/vlive.py +++ b/youtube_dl/extractor/vlive.py @@ -16,6 +16,7 @@ from ..compat import compat_urllib_parse class VLiveIE(InfoExtractor): IE_NAME = 'vlive' + # www.vlive.tv/video/ links redirect to m.vlive.tv/video/ for mobile devices _VALID_URL = r'https?://(?:(www|m)\.)?vlive\.tv/video/(?P[0-9]+)' _TEST = { 'url': 'http://m.vlive.tv/video/1326',