Skip to content

Commit

Permalink
Update (g4f/Provider/Blackbox.py)
Browse files Browse the repository at this point in the history
  • Loading branch information
kqlio67 committed Nov 13, 2024
1 parent eaaa53d commit 75316a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion g4f/Provider/Blackbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 75316a2

Please sign in to comment.