-
Notifications
You must be signed in to change notification settings - Fork 0
/
urls.py
23 lines (21 loc) · 1.72 KB
/
urls.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
URL_SONG_DETAIL = "http://music.163.com/weapi/song/detail"
URL_SONG_DATA = "http://music.163.com/weapi/song/enhance/player/url"
URL_SONG_DATA_V1 = "http://music.163.com/weapi/song/enhance/player/url/v1"
URL_ARTIST_DETAIL = "http://music.163.com/artist?id=%s"
URL_ALBUM_DETAIL = "http://music.163.com/album?id=%s"
URL_PLAYLIST_DETAIL = "https://music.163.com/playlist?id=%s"
URL_USER_RECORD = "http://music.163.com/weapi/v1/play/record"
URL_USER_HOME = "https://music.163.com/user/home?id=%s"
URL_USER_SIGN = "https://music.163.com/weapi/point/dailyTask?csrf_token=%s"
URL_USER_LOGIN = "https://music.163.com/weapi/login/qrcode/client/login?csrf_token="
URL_USER_CELLPHONE = "https://interface.music.163.com/weapi/login/cellphone"
URL_USER_UNIKEY = "https://music.163.com/weapi/login/qrcode/unikey?csrf_token="
URL_USER_QRCODE = "http://music.163.com/login?codekey=%s"
URL_USER_GET = "https://music.163.com/weapi/w/nuser/account/get?csrf_token=%s"
URL_USER_LEVEL="https://music.163.com/weapi/user/level?csrf_token=%s"
URL_ANALYSE_ANALYSE="https://music.163.com/prime/m/viptimemachine"
URL_ANALYSE_HISTORY="https://music.163.com/weapi/vipmusic/newrecord/timedetail"
URL_ANALYSE_WEEKFLOW="https://music.163.com/api/vipmusic/newrecord/weekflow"
header = {"Content-Type": "application/x-www-form-urlencoded",
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36 Edg/98.0.1108.62"}
encSecKey = "a0eb942126f004306a718aaf9fdbd8050c6aee4683d5fddc7f2946f27dc0d51164396be851a00f927d3449cf61f240442273dc46cfac1e6c160c8c85b78ff56034198914eb0a23ecbcadb493dc354c27d026a874dcb982f41e0077635b5c3fc9337e7fee2e0b30e84052d95e9fdc8ded40a00da010b947d9a6925fb6611a08c8"