aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorSergey M <dstftw@gmail.com>2016-06-07 21:22:53 +0700
committerSergey M <dstftw@gmail.com>2016-06-07 21:22:53 +0700
commitfb94e260b56851763ce161d42443f05f1477a919 (patch)
treef8208f03ea40e70d70a51526a0cb25ccdae575d7 /youtube_dl/extractor
parent4315f74fa8e97ca1fdd1fe919f777b3942da2028 (diff)
parent345dec937fcc2b9ae106e91f4c01568c8c7e41f8 (diff)
downloadyoutube-dl-fb94e260b56851763ce161d42443f05f1477a919.tar.xz
Merge pull request #9720 from Kagami/vlive-new-statuses
[vlive] Acknowledge vlive+ streams statuses
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/vlive.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/youtube_dl/extractor/vlive.py b/youtube_dl/extractor/vlive.py
index 147f52d45..8d671cca7 100644
--- a/youtube_dl/extractor/vlive.py
+++ b/youtube_dl/extractor/vlive.py
@@ -9,6 +9,7 @@ from ..utils import (
ExtractorError,
float_or_none,
int_or_none,
+ remove_start,
)
from ..compat import compat_urllib_parse_urlencode
@@ -39,6 +40,7 @@ class VLiveIE(InfoExtractor):
webpage, 'video params')
status, _, _, live_params, long_video_id, key = re.split(
r'"\s*,\s*"', video_params)[2:8]
+ status = remove_start(status, 'PRODUCT_')
if status == 'LIVE_ON_AIR' or status == 'BIG_EVENT_ON_AIR':
live_params = self._parse_json('"%s"' % live_params, video_id)