[Python] 纯文本查看 复制代码#!/usr/bin/env python
# -*- coding: utf-8 -*-
import requests
def test_request():
url = "https://music.163.com/weapi/v3/song/detail?csrf_token="
data = {
'params': 'ahnzExy87UbcZItyr3W2m0k8TvUYUnG5YbwluNs5iNMyJt2CyBtcFJ3wC60RSHJ06UgTOWnYG4pRSKydG/7BWOgEZXW/cQzZUIyfdnNPXBdB1uVdyfOdcGRZEwBVXCGO+wSjpbM2iTnAstDZkfXSgQ==',
'encSecKey': 'bb37276a473a1aa6869f71fea3920a4e3595a459e66a201d2756081e3d7444ba55e2d2b6f556fa29d5029fb07a46d9b0d2b78c12400fe6f72d50ec797ad82401849a979fd515270b3186f095219d1802051228c135bbd1368eba370fd526561c89b178b29068d23d05081acebdaddd590c92ef97e2a4232f9ed4cc0c12791ad8'}
headers = {'Host': 'music.163.com', 'Connection': 'keep-alive',
'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 11_1_0) AppleWebKit/537.36 (KHTML,