mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-17 21:59:17 +00:00
[neteasemusic] PEP8
This commit is contained in:
parent
b29280285e
commit
15830339ef
|
@ -52,7 +52,7 @@ def extract_formats(cls, info):
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def convert_milliseconds(cls, ms):
|
def convert_milliseconds(cls, ms):
|
||||||
return int(round(ms/1000.0))
|
return int(round(ms / 1000.0))
|
||||||
|
|
||||||
def query_api(self, endpoint, video_id, note):
|
def query_api(self, endpoint, video_id, note):
|
||||||
req = compat_urllib_request.Request('%s%s' % (self._API_BASE, endpoint))
|
req = compat_urllib_request.Request('%s%s' % (self._API_BASE, endpoint))
|
||||||
|
|
Loading…
Reference in a new issue