mirror of
https://github.com/Arrowar/StreamingCommunity.git
synced 2025-07-19 00:20:00 +00:00
Bump v3.2.0
This commit is contained in:
parent
0b75d09287
commit
d36e853613
8
.github/.domain/domains.json
vendored
8
.github/.domain/domains.json
vendored
@ -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",
|
||||
|
@ -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'
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user