aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorping <lipng.ong@gmail.com>2015-09-01 11:11:14 +0800
committerping <lipng.ong@gmail.com>2015-09-01 11:11:14 +0800
commitd14f0c45fc8ab447d66caf7a3b9ce0888446eb7c (patch)
treefce63dafb92ecef94a8067bb221e9be8ecf61b3c /youtube_dl/extractor
parent615f155a3afd5c854fbf855c02f17ddb7f217b05 (diff)
[vlive] Add info about www. to m. redirects for mobile
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/vlive.py1
1 files changed, 1 insertions, 0 deletions
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<id>[0-9]+)'
_TEST = {
'url': 'http://m.vlive.tv/video/1326',