Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
update flaresolverr address
Browse files Browse the repository at this point in the history
  • Loading branch information
Jules-WinnfieldX committed Mar 7, 2024
1 parent a570275 commit 4524c4b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cyberdrop_dl/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "5.1.86"
__version__ = "5.1.87"
2 changes: 1 addition & 1 deletion cyberdrop_dl/clients/scraper_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ async def flaresolverr(self, domain: str, url: URL, client_session: ClientSessio
headers = {**self._headers, **{"Content-Type": "application/json"}}
data = {"cmd": "request.get", "url": str(url), "maxTimeout": 60000}

async with client_session.post(url, headers=headers, ssl=self.client_manager.ssl_context,
async with client_session.post(f"http://{self.client_manager.flaresolverr}/v1", headers=headers, ssl=self.client_manager.ssl_context,
proxy=self.client_manager.proxy, data=data) as response:
try:
await self.client_manager.check_http_status(response)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "cyberdrop-dl"
version = "5.1.86"
version = "5.1.87"
description = "Bulk downloader for multiple file hosts"
authors = ["Jules Winnfield <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit 4524c4b

Please sign in to comment.