Browse Source

[vlive] Add info about www. to m. redirects for mobile

totalwebcasting
ping 9 years ago
parent
commit
d14f0c45fc
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      youtube_dl/extractor/vlive.py

+ 1
- 0
youtube_dl/extractor/vlive.py View File

@ -16,6 +16,7 @@ from ..compat import compat_urllib_parse
class VLiveIE(InfoExtractor): class VLiveIE(InfoExtractor):
IE_NAME = 'vlive' 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]+)' _VALID_URL = r'https?://(?:(www|m)\.)?vlive\.tv/video/(?P<id>[0-9]+)'
_TEST = { _TEST = {
'url': 'http://m.vlive.tv/video/1326', 'url': 'http://m.vlive.tv/video/1326',


Loading…
Cancel
Save