import re
import time
+
from .common import InfoExtractor
from ..utils import (
- ExtractorError,
dict_get,
+ ExtractorError,
float_or_none,
int_or_none,
)
self._sort_formats(formats)
return dict(self._get_common_fields(webpage),
- id=video_id,
- formats=formats,
- is_live=True,
- )
+ id=video_id,
+ formats=formats,
+ is_live=True)
def _replay(self, video_id, webpage, long_video_id, key):
playinfo = self._download_json(
'url': caption['source']}]
return dict(self._get_common_fields(webpage),
- id=video_id,
- formats=formats,
- view_count=view_count,
- subtitles=subtitles,
- )
+ id=video_id,
+ formats=formats,
+ view_count=view_count,
+ subtitles=subtitles)