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"
|
"time_change": "2025-03-21 12:20:27"
|
||||||
},
|
},
|
||||||
"guardaserie": {
|
"guardaserie": {
|
||||||
"domain": "kaufen",
|
"domain": "qpon",
|
||||||
"full_url": "https://guardaserie.kaufen/",
|
"full_url": "https://guardaserietv.qpon/",
|
||||||
"old_domain": "meme",
|
"old_domain": "kaufen",
|
||||||
"time_change": "2025-07-02 12:42:58"
|
"time_change": "2025-07-11 18:30:23"
|
||||||
},
|
},
|
||||||
"ddlstreamitaly": {
|
"ddlstreamitaly": {
|
||||||
"domain": "co",
|
"domain": "co",
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
__title__ = 'StreamingCommunity'
|
__title__ = 'StreamingCommunity'
|
||||||
__version__ = '3.1.0'
|
__version__ = '3.2.0'
|
||||||
__author__ = 'Arrowar'
|
__author__ = 'Arrowar'
|
||||||
__description__ = 'A command-line program to download film'
|
__description__ = 'A command-line program to download film'
|
||||||
__copyright__ = 'Copyright 2025'
|
__copyright__ = 'Copyright 2025'
|
@ -36,10 +36,8 @@ class ConfigManager:
|
|||||||
base_path = os.path.dirname(sys.executable)
|
base_path = os.path.dirname(sys.executable)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
# Use the current working directory where the script is executed
|
||||||
# Get the actual path of the module file
|
base_path = os.getcwd()
|
||||||
current_file_path = os.path.abspath(__file__)
|
|
||||||
base_path = os.path.dirname(os.path.dirname(os.path.dirname(current_file_path)))
|
|
||||||
|
|
||||||
# Initialize file paths
|
# Initialize file paths
|
||||||
self.file_path = os.path.join(base_path, file_name)
|
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]")
|
console.print(f"[bold cyan]Downloading reference configuration:[/bold cyan] [green]{self.reference_config_url}[/green]")
|
||||||
|
|
||||||
try:
|
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:
|
if response.status_code == 200:
|
||||||
with open(self.file_path, 'wb') as f:
|
with open(self.file_path, 'wb') as f:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user