From d36e853613ea12413ec1b7ca181fcf5d2061f70b Mon Sep 17 00:00:00 2001 From: None <62809003+Arrowar@users.noreply.github.com> Date: Wed, 9 Jul 2025 09:57:54 +0200 Subject: [PATCH] Bump v3.2.0 --- .github/.domain/domains.json | 8 ++++---- StreamingCommunity/Upload/version.py | 2 +- StreamingCommunity/Util/config_json.py | 8 +++----- 3 files changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/.domain/domains.json b/.github/.domain/domains.json index cd81a01..2fb6e0b 100644 --- a/.github/.domain/domains.json +++ b/.github/.domain/domains.json @@ -24,10 +24,10 @@ "time_change": "2025-03-21 12:20:27" }, "guardaserie": { - "domain": "kaufen", - "full_url": "https://guardaserie.kaufen/", - "old_domain": "meme", - "time_change": "2025-07-02 12:42:58" + "domain": "qpon", + "full_url": "https://guardaserietv.qpon/", + "old_domain": "kaufen", + "time_change": "2025-07-11 18:30:23" }, "ddlstreamitaly": { "domain": "co", diff --git a/StreamingCommunity/Upload/version.py b/StreamingCommunity/Upload/version.py index 7cce0b0..3bcf424 100644 --- a/StreamingCommunity/Upload/version.py +++ b/StreamingCommunity/Upload/version.py @@ -1,5 +1,5 @@ __title__ = 'StreamingCommunity' -__version__ = '3.1.0' +__version__ = '3.2.0' __author__ = 'Arrowar' __description__ = 'A command-line program to download film' __copyright__ = 'Copyright 2025' \ No newline at end of file diff --git a/StreamingCommunity/Util/config_json.py b/StreamingCommunity/Util/config_json.py index 2a46f74..d2a6aff 100644 --- a/StreamingCommunity/Util/config_json.py +++ b/StreamingCommunity/Util/config_json.py @@ -36,10 +36,8 @@ class ConfigManager: base_path = os.path.dirname(sys.executable) else: - - # Get the actual path of the module file - current_file_path = os.path.abspath(__file__) - base_path = os.path.dirname(os.path.dirname(os.path.dirname(current_file_path))) + # Use the current working directory where the script is executed + base_path = os.getcwd() # Initialize file paths self.file_path = os.path.join(base_path, file_name) @@ -140,7 +138,7 @@ class ConfigManager: console.print(f"[bold cyan]Downloading reference configuration:[/bold cyan] [green]{self.reference_config_url}[/green]") try: - response = requests.get(self.reference_config_url, timeout=8, headers={'User-Agent': get_userAgent()}, verify=self.get_bool('REQUESTS', 'verify')) + response = requests.get(self.reference_config_url, timeout=8, headers={'User-Agent': get_userAgent()}) if response.status_code == 200: with open(self.file_path, 'wb') as f: