|
|
@ -3,10 +3,11 @@ from __future__ import division, unicode_literals
|
|
|
|
|
|
|
|
|
|
|
|
import re
|
|
|
|
import re
|
|
|
|
import time
|
|
|
|
import time
|
|
|
|
|
|
|
|
|
|
|
|
from .common import InfoExtractor
|
|
|
|
from .common import InfoExtractor
|
|
|
|
from ..utils import (
|
|
|
|
from ..utils import (
|
|
|
|
ExtractorError,
|
|
|
|
|
|
|
|
dict_get,
|
|
|
|
dict_get,
|
|
|
|
|
|
|
|
ExtractorError,
|
|
|
|
float_or_none,
|
|
|
|
float_or_none,
|
|
|
|
int_or_none,
|
|
|
|
int_or_none,
|
|
|
|
)
|
|
|
|
)
|
|
|
@ -101,8 +102,7 @@ class VLiveIE(InfoExtractor):
|
|
|
|
return dict(self._get_common_fields(webpage),
|
|
|
|
return dict(self._get_common_fields(webpage),
|
|
|
|
id=video_id,
|
|
|
|
id=video_id,
|
|
|
|
formats=formats,
|
|
|
|
formats=formats,
|
|
|
|
is_live=True,
|
|
|
|
is_live=True)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def _replay(self, video_id, webpage, long_video_id, key):
|
|
|
|
def _replay(self, video_id, webpage, long_video_id, key):
|
|
|
|
playinfo = self._download_json(
|
|
|
|
playinfo = self._download_json(
|
|
|
@ -140,5 +140,4 @@ class VLiveIE(InfoExtractor):
|
|
|
|
id=video_id,
|
|
|
|
id=video_id,
|
|
|
|
formats=formats,
|
|
|
|
formats=formats,
|
|
|
|
view_count=view_count,
|
|
|
|
view_count=view_count,
|
|
|
|
subtitles=subtitles,
|
|
|
|
subtitles=subtitles)
|
|
|
|
)
|
|
|
|
|
|
|
|