projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
615f155
)
[vlive] Add info about www. to m. redirects for mobile
author
ping
<lipng.ong@gmail.com>
Tue, 1 Sep 2015 03:11:14 +0000
(11:11 +0800)
committer
ping
<lipng.ong@gmail.com>
Tue, 1 Sep 2015 03:11:14 +0000
(11:11 +0800)
youtube_dl/extractor/vlive.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/vlive.py
b/youtube_dl/extractor/vlive.py
index 17ae3b96475a724a6f1fb23f92edeb40c32f85f1..a456f8217f0b72257a2a5be0d52603170e1329a3 100644
(file)
--- 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',