|
@@ -24,21 +24,12 @@ class TTS:
|
|
|
})
|
|
|
headers = {
|
|
|
'accept': 'application/json, text/plain, */*',
|
|
|
- 'accept-language': 'zh-CN',
|
|
|
- 'cache-control': 'no-cache',
|
|
|
'content-type': 'application/json',
|
|
|
'cookie': 'anylangIsLogin=true',
|
|
|
'origin': 'https://app.guiji.cn',
|
|
|
'pragma': 'no-cache',
|
|
|
- 'priority': 'u=1, i',
|
|
|
'referer': 'https://app.guiji.cn/',
|
|
|
- 'sec-ch-ua': '"Not/A)Brand";v="8", "Chromium";v="126", "Google Chrome";v="126"',
|
|
|
- 'sec-ch-ua-mobile': '?0',
|
|
|
- 'sec-ch-ua-platform': '"macOS"',
|
|
|
- 'sec-fetch-dest': 'empty',
|
|
|
- 'sec-fetch-mode': 'cors',
|
|
|
- 'sec-fetch-site': 'same-site',
|
|
|
- 'token': '72912b4ac30b412cb19d2e835a678854'
|
|
|
+ 'token': 'f16e8bfcae6049d6b68b21f945bd00ad'
|
|
|
}
|
|
|
wait_time = random.uniform(5, 20)
|
|
|
time.sleep(wait_time)
|