projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
151d981
)
[vlive] Coding style and PEP8
author
Yen Chi Hsuan
<yan12125@gmail.com>
Fri, 29 Apr 2016 11:29:00 +0000
(19:29 +0800)
committer
Yen Chi Hsuan
<yan12125@gmail.com>
Fri, 29 Apr 2016 11:29:50 +0000
(19:29 +0800)
youtube_dl/extractor/vlive.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/vlive.py
b/youtube_dl/extractor/vlive.py
index 2151696ea21fdbaa7efeb7c504dc37ab820d9628..7f9e99ec2c8dd4fa32a0da8310fcd55300b44426 100644
(file)
--- a/
youtube_dl/extractor/vlive.py
+++ b/
youtube_dl/extractor/vlive.py
@@
-3,10
+3,11
@@
from __future__ import division, unicode_literals
import re
import time
import re
import time
+
from .common import InfoExtractor
from ..utils import (
from .common import InfoExtractor
from ..utils import (
- ExtractorError,
dict_get,
dict_get,
+ ExtractorError,
float_or_none,
int_or_none,
)
float_or_none,
int_or_none,
)
@@
-99,10
+100,9
@@
class VLiveIE(InfoExtractor):
self._sort_formats(formats)
return dict(self._get_common_fields(webpage),
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(
def _replay(self, video_id, webpage, long_video_id, key):
playinfo = self._download_json(
@@
-137,8
+137,7
@@
class VLiveIE(InfoExtractor):
'url': caption['source']}]
return dict(self._get_common_fields(webpage),
'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)