[vlive] Coding style and PEP8

This commit is contained in:
Yen Chi Hsuan 2016-04-29 19:29:00 +08:00
parent 151d98130b
commit 9d186afac8
No known key found for this signature in database
GPG key ID: 3FDDD575826C5C30

View file

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