mirror of
https://github.com/OwO-Network/DeepLX.git
synced 2024-11-16 12:02:20 +08:00
fix: dl session format
This commit is contained in:
parent
a0b110681d
commit
9ce414d6a2
|
@ -307,7 +307,7 @@ func translateByDeepLXPro(sourceLang string, targetLang string, translateText st
|
|||
request.Header.Set("Origin", "https://www.deepl.com")
|
||||
request.Header.Set("Referer", "https://www.deepl.com")
|
||||
request.Header.Set("Connection", "keep-alive")
|
||||
request.Header.Set("Cookie", "dlsession="+dlSession)
|
||||
request.Header.Set("Cookie", "dl_session="+dlSession)
|
||||
|
||||
// Making the HTTP request to the DeepL API
|
||||
client := &http.Client{}
|
||||
|
|
Loading…
Reference in New Issue
Block a user