[cleanup] Lint and misc cleanup
This commit is contained in:
parent
db4678e448
commit
46d09f8707
11 changed files with 46 additions and 43 deletions
|
|
@ -1,3 +1,4 @@
|
|||
import itertools
|
||||
import json
|
||||
import re
|
||||
import time
|
||||
|
|
@ -39,8 +40,7 @@ class NetEaseMusicBaseIE(InfoExtractor):
|
|||
result = b64encode(m.digest()).decode('ascii')
|
||||
return result.replace('/', '_').replace('+', '-')
|
||||
|
||||
@classmethod
|
||||
def make_player_api_request_data_and_headers(cls, song_id, bitrate):
|
||||
def make_player_api_request_data_and_headers(self, song_id, bitrate):
|
||||
KEY = b'e82ckenh8dichen8'
|
||||
URL = '/api/song/enhance/player/url'
|
||||
now = int(time.time() * 1000)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue