aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/vlive.py
diff options
context:
space:
mode:
authorcoreynicholson <coreynicholson@users.noreply.github.com>2018-07-01 15:19:17 +0100
committerSergey M <dstftw@gmail.com>2018-07-01 21:19:17 +0700
commit973b6ceebbf0c79086cbf3203a8a8c79daf0b1ba (patch)
tree4477a0ad9fedda67ac8dfee75a6a576f74a8ff23 /youtube_dl/extractor/vlive.py
parenteca1f0d115e6a2712ff0d5f6b25e3ded5e52db71 (diff)
[vlive] Fix live streams extraction
Diffstat (limited to 'youtube_dl/extractor/vlive.py')
-rw-r--r--youtube_dl/extractor/vlive.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/youtube_dl/extractor/vlive.py b/youtube_dl/extractor/vlive.py
index 64d0224e6..0b5165fd0 100644
--- a/youtube_dl/extractor/vlive.py
+++ b/youtube_dl/extractor/vlive.py
@@ -57,7 +57,7 @@ class VLiveIE(InfoExtractor):
video_id = self._match_id(url)
webpage = self._download_webpage(
- 'http://www.vlive.tv/video/%s' % video_id, video_id)
+ 'https://www.vlive.tv/video/%s' % video_id, video_id)
VIDEO_PARAMS_RE = r'\bvlive\.video\.init\(([^)]+)'
VIDEO_PARAMS_FIELD = 'video params'
@@ -108,11 +108,11 @@ class VLiveIE(InfoExtractor):
def _live(self, video_id, webpage):
init_page = self._download_webpage(
- 'http://www.vlive.tv/video/init/view',
+ 'https://www.vlive.tv/video/init/view',
video_id, note='Downloading live webpage',
data=urlencode_postdata({'videoSeq': video_id}),
headers={
- 'Referer': 'http://www.vlive.tv/video/%s' % video_id,
+ 'Referer': 'https://www.vlive.tv/video/%s' % video_id,
'Content-Type': 'application/x-www-form-urlencoded'
})