summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/MagickPenAsk.py
diff options
context:
space:
mode:
authorzukixa <56563509+zukixa@users.noreply.github.com>2024-08-25 10:00:06 +0200
committerzukixa <56563509+zukixa@users.noreply.github.com>2024-08-25 10:00:06 +0200
commita338ed588397737d3c1be66ee4f15d51c84f1770 (patch)
tree0de45ef57733bfb8c3c38e74dddabeb697ee445a /g4f/Provider/MagickPenAsk.py
parent. (diff)
downloadgpt4free-a338ed588397737d3c1be66ee4f15d51c84f1770.tar
gpt4free-a338ed588397737d3c1be66ee4f15d51c84f1770.tar.gz
gpt4free-a338ed588397737d3c1be66ee4f15d51c84f1770.tar.bz2
gpt4free-a338ed588397737d3c1be66ee4f15d51c84f1770.tar.lz
gpt4free-a338ed588397737d3c1be66ee4f15d51c84f1770.tar.xz
gpt4free-a338ed588397737d3c1be66ee4f15d51c84f1770.tar.zst
gpt4free-a338ed588397737d3c1be66ee4f15d51c84f1770.zip
Diffstat (limited to 'g4f/Provider/MagickPenAsk.py')
-rw-r--r--g4f/Provider/MagickPenAsk.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/g4f/Provider/MagickPenAsk.py b/g4f/Provider/MagickPenAsk.py
index 8b7473d8..21a9e422 100644
--- a/g4f/Provider/MagickPenAsk.py
+++ b/g4f/Provider/MagickPenAsk.py
@@ -37,7 +37,7 @@ class MagickPenAsk(AsyncGeneratorProvider, ProviderModelMixin):
"sec-fetch-mode": "cors",
"sec-fetch-site": "same-site",
"user-agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36",
- 'X-API-Secret': 'WCASR6ZQJYM85DVDX7'
+ 'X-API-Secret': 'W252GY255JVYBS9NAM' # this for some reason is just hardcoded in the .js, it makes no sense
}
async with ClientSession(headers=headers) as session:
data = {