bump beta
This commit is contained in:
parent
bc125d0494
commit
e8fcbecd02
3 changed files with 3 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
[tool.poetry]
|
||||
name = "stream-fusion"
|
||||
version = "0.2.0"
|
||||
version = "0.3.0"
|
||||
description = "StreamFusion is an advanced plugin for Stremio that significantly enhances its streaming capabilities with debrid service."
|
||||
authors = ["LimeDrive <limecat@limedrive.eu>"]
|
||||
readme = "README.md"
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ class Settings(BaseSettings):
|
|||
port: int = 8080
|
||||
host: str = "0.0.0.0"
|
||||
gunicorn_timeout: int = 180
|
||||
aiohttp_timeout: int = 3600
|
||||
aiohttp_timeout: int = 7200
|
||||
reload: bool = False
|
||||
session_key: str = "331cbfe48117fcba53d09572b10d2fc293d86131dc51be46d8aa9843c2e9f48d"
|
||||
use_https: bool = False
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ class TorrentService:
|
|||
'accept': 'application/json',
|
||||
'api-key': settings.ygg_proxy_apikey
|
||||
}
|
||||
response = self.__session.get(result.link, allow_redirects=False, timeout=20, headers=headers)
|
||||
response = self.__session.get(result.link, timeout=20, headers=headers)
|
||||
time.sleep(0.1) # Add a delay of 0.1 seconds between requests faire usage for small VPS
|
||||
except requests.exceptions.RequestException:
|
||||
self.logger.error(f"Error while processing url: {result.link}")
|
||||
|
|
|
|||
Loading…
Reference in a new issue