summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/Blackbox.py
diff options
context:
space:
mode:
authorkqlio67 <kqlio67@users.noreply.github.com>2024-11-13 13:25:07 +0100
committerkqlio67 <kqlio67@users.noreply.github.com>2024-11-13 13:25:07 +0100
commit75316a233b0d01ddb060cfd19b366cebe7fa47fe (patch)
treeacb4a1cb77104b0411dc1af2409c121b6ba8f420 /g4f/Provider/Blackbox.py
parentUpdate (g4f/Provider/TeachAnything.py) (diff)
downloadgpt4free-75316a233b0d01ddb060cfd19b366cebe7fa47fe.tar
gpt4free-75316a233b0d01ddb060cfd19b366cebe7fa47fe.tar.gz
gpt4free-75316a233b0d01ddb060cfd19b366cebe7fa47fe.tar.bz2
gpt4free-75316a233b0d01ddb060cfd19b366cebe7fa47fe.tar.lz
gpt4free-75316a233b0d01ddb060cfd19b366cebe7fa47fe.tar.xz
gpt4free-75316a233b0d01ddb060cfd19b366cebe7fa47fe.tar.zst
gpt4free-75316a233b0d01ddb060cfd19b366cebe7fa47fe.zip
Diffstat (limited to '')
-rw-r--r--g4f/Provider/Blackbox.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/g4f/Provider/Blackbox.py b/g4f/Provider/Blackbox.py
index f2cc264a..952507ff 100644
--- a/g4f/Provider/Blackbox.py
+++ b/g4f/Provider/Blackbox.py
@@ -88,7 +88,7 @@ class Blackbox(AsyncGeneratorProvider, ProviderModelMixin):
async def fetch_validated(cls):
async with aiohttp.ClientSession() as session:
try:
- async with session.get('https://www.blackbox.ai/_next/static/chunks/2052-0407a0af8bffe0a9.js') as response:
+ async with session.get('https://www.blackbox.ai/_next/static/chunks/2052-cdfeaea1ea292ff5.js') as response:
page_content = await response.text()
validated_match = re.search(r'w="([0-9a-fA-F-]{36})"', page_content)