]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[vlive] Add info about www. to m. redirects for mobile
authorping <lipng.ong@gmail.com>
Tue, 1 Sep 2015 03:11:14 +0000 (11:11 +0800)
committerping <lipng.ong@gmail.com>
Tue, 1 Sep 2015 03:11:14 +0000 (11:11 +0800)
youtube_dl/extractor/vlive.py

index 17ae3b96475a724a6f1fb23f92edeb40c32f85f1..a456f8217f0b72257a2a5be0d52603170e1329a3 100644 (file)
@@ -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<id>[0-9]+)'
     _TEST = {
         'url': 'http://m.vlive.tv/video/1326',