Skip to content

Commit 0989ec1

Browse files
committed
v4
1 parent 023dbf7 commit 0989ec1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+284
-417
lines changed

.github/.domain/domains.json

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,38 @@
11
{
2-
"cb01new": {
3-
"domain": "shop",
4-
"full_url": "https://cb01net.shop/",
5-
"old_domain": "homes",
6-
"time_change": "2025-12-15 19:20:30"
7-
},
8-
"animeunity": {
9-
"domain": "so",
10-
"full_url": "https://www.animeunity.so/",
11-
"old_domain": "so",
12-
"time_change": "2025-07-08 13:59:31"
13-
},
14-
"animeworld": {
15-
"domain": "ac",
16-
"full_url": "https://www.animeworld.ac/",
17-
"old_domain": "ac",
18-
"time_change": "2025-03-21 12:20:27"
19-
},
20-
"guardaserie": {
21-
"domain": "asia",
22-
"full_url": "https://guardaserietv.asia/",
23-
"old_domain": "club",
24-
"time_change": "2025-12-11 19:21:07"
25-
},
26-
"altadefinizione": {
27-
"domain": "bond",
28-
"full_url": "https://altadefinizionegratis.bond/",
29-
"old_domain": "cfd",
30-
"time_change": "2025-12-17 07:23:58"
31-
},
32-
"streamingcommunity": {
33-
"domain": "cam",
34-
"full_url": "https://streamingcommunityz.cam/",
35-
"old_domain": "digital",
36-
"time_change": "2025-12-15 12:51:09"
37-
}
2+
"cb01new": {
3+
"domain": "shop",
4+
"full_url": "https://cb01net.shop/",
5+
"old_domain": "homes",
6+
"time_change": "2025-12-15 19:20:30"
7+
},
8+
"animeunity": {
9+
"domain": "so",
10+
"full_url": "https://www.animeunity.so/",
11+
"old_domain": "so",
12+
"time_change": "2025-07-08 13:59:31"
13+
},
14+
"animeworld": {
15+
"domain": "ac",
16+
"full_url": "https://www.animeworld.ac/",
17+
"old_domain": "ac",
18+
"time_change": "2025-03-21 12:20:27"
19+
},
20+
"guardaserie": {
21+
"domain": "asia",
22+
"full_url": "https://guardaserietv.asia/",
23+
"old_domain": "club",
24+
"time_change": "2025-12-11 19:21:07"
25+
},
26+
"altadefinizione": {
27+
"domain": "bond",
28+
"full_url": "https://altadefinizionegratis.bond/",
29+
"old_domain": "cfd",
30+
"time_change": "2025-12-17 07:23:58"
31+
},
32+
"streamingcommunity": {
33+
"domain": "cam",
34+
"full_url": "https://streamingcommunityz.cam/",
35+
"old_domain": "digital",
36+
"time_change": "2025-12-15 12:51:09"
37+
}
3838
}

GUI/searchapp/api/animeunity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
# External utilities
1313
from StreamingCommunity.Util.config_json import config_manager
14-
from StreamingCommunity.Api.Site.animeunity.util.ScrapeSerie import ScrapeSerieAnime
14+
from StreamingCommunity.Api.Service.animeunity.util.ScrapeSerie import ScrapeSerieAnime
1515

1616

1717

GUI/searchapp/api/streamingcommunity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
# External utilities
1313
from StreamingCommunity.Util.config_json import config_manager
14-
from StreamingCommunity.Api.Site.streamingcommunity.util.ScrapeSerie import GetSerieInfo
14+
from StreamingCommunity.Api.Service.streamingcommunity.util.ScrapeSerie import GetSerieInfo
1515

1616

1717
class StreamingCommunityAPI(BaseStreamingAPI):

StreamingCommunity/Api/Player/mediapolisvod.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22

33

44
# Internal utilities
5-
from StreamingCommunity.Util.http_client import create_client
6-
from StreamingCommunity.Util.headers import get_headers
5+
from StreamingCommunity.Util.http_client import create_client, get_headers
76

87

98
class VideoSource:

StreamingCommunity/Api/Player/supervideo.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@
1010

1111

1212
# Internal utilities
13-
from StreamingCommunity.Util.http_client import create_client_curl
14-
from StreamingCommunity.Util.headers import get_headers
13+
from StreamingCommunity.Util.http_client import create_client_curl, get_headers
1514

1615

1716
class VideoSource:

StreamingCommunity/Api/Player/sweetpixel.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44

55

66
# Internal utilities
7-
from StreamingCommunity.Util.headers import get_userAgent
8-
from StreamingCommunity.Util.http_client import create_client
7+
from StreamingCommunity.Util.http_client import create_client, get_userAgent
98

109

1110
class VideoSource:

StreamingCommunity/Api/Player/vixcloud.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@
1313

1414

1515
# Internal utilities
16-
from StreamingCommunity.Util.headers import get_userAgent
17-
from StreamingCommunity.Util.http_client import create_client
16+
from StreamingCommunity.Util.http_client import create_client, get_userAgent
1817

1918

2019
# Variable

StreamingCommunity/Api/Service/altadefinizione/__init__.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@
66

77

88
# Internal utilities
9-
from StreamingCommunity.Api.Template import get_select_title
10-
from StreamingCommunity.Api.Template.config_loader import site_constant
11-
from StreamingCommunity.Api.Template.object import MediaItem
9+
from StreamingCommunity.Api.Template import site_constants, MediaItem, get_select_title
1210

1311

1412
# Logic class
@@ -83,7 +81,7 @@ def search(string_to_search: str = None, get_onlyDatabase: bool = False, direct_
8381
if string_to_search is not None:
8482
actual_search_query = string_to_search.strip()
8583
else:
86-
actual_search_query = msg.ask(f"\n[purple]Insert a word to search in [green]{site_constant.SITE_NAME}").strip()
84+
actual_search_query = msg.ask(f"\n[purple]Insert a word to search in [green]{site_constants.SITE_NAME}").strip()
8785

8886
# Handle empty input
8987
if not actual_search_query:

StreamingCommunity/Api/Service/altadefinizione/film.py

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,14 @@
1111

1212
# Internal utilities
1313
from StreamingCommunity.Util.os import os_manager
14-
from StreamingCommunity.Util.headers import get_headers
15-
from StreamingCommunity.Util.http_client import create_client
14+
from StreamingCommunity.Util.http_client import create_client, get_headers
1615
from StreamingCommunity.Util.message import start_message
1716
from StreamingCommunity.Util.config_json import config_manager
1817
from StreamingCommunity.Lib.HLS import HLS_Downloader
1918

2019

2120
# Logic class
22-
from StreamingCommunity.Api.Template.config_loader import site_constant
23-
from StreamingCommunity.Api.Template.object import MediaItem
21+
from StreamingCommunity.Api.Template import site_constants, MediaItem
2422
from StreamingCommunity.Api.Player.supervideo import VideoSource
2523

2624

@@ -40,7 +38,7 @@ def download_film(select_title: MediaItem) -> str:
4038
- str: output path if successful, otherwise None
4139
"""
4240
start_message()
43-
console.print(f"\n[yellow]Download: [red]{site_constant.SITE_NAME} → [cyan]{select_title.name} \n")
41+
console.print(f"\n[yellow]Download: [red]{site_constants.SITE_NAME} → [cyan]{select_title.name} \n")
4442

4543
# Extract mostraguarda URL
4644
try:
@@ -52,7 +50,7 @@ def download_film(select_title: MediaItem) -> str:
5250
mostraguarda = iframes[0]['src']
5351

5452
except Exception as e:
55-
console.print(f"[red]Site: {site_constant.SITE_NAME}, request error: {e}, get mostraguarda")
53+
console.print(f"[red]Site: {site_constants.SITE_NAME}, request error: {e}, get mostraguarda")
5654
return None
5755

5856
# Extract supervideo URL
@@ -67,7 +65,7 @@ def download_film(select_title: MediaItem) -> str:
6765
supervideo_url = 'https:' + supervideo_match.group(0)
6866

6967
except Exception as e:
70-
console.print(f"[red]Site: {site_constant.SITE_NAME}, request error: {e}, get supervideo URL")
68+
console.print(f"[red]Site: {site_constants.SITE_NAME}, request error: {e}, get supervideo URL")
7169
console.print("[yellow]This content will be available soon!")
7270
return None
7371

@@ -77,7 +75,7 @@ def download_film(select_title: MediaItem) -> str:
7775

7876
# Define the filename and path for the downloaded film
7977
title_name = os_manager.get_sanitize_file(select_title.name, select_title.date) + extension_output
80-
mp4_path = os.path.join(site_constant.MOVIE_FOLDER, title_name.replace(extension_output, ""))
78+
mp4_path = os.path.join(site_constants.MOVIE_FOLDER, title_name.replace(extension_output, ""))
8179

8280
# Download the film using the m3u8 playlist, and output filename
8381
hls_process = HLS_Downloader(

StreamingCommunity/Api/Service/altadefinizione/series.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,15 @@
1717

1818
# Logic class
1919
from .util.ScrapeSerie import GetSerieInfo
20-
from StreamingCommunity.Api.Template.Util import (
20+
from StreamingCommunity.Api.Template.episode_manager import (
2121
manage_selection,
2222
map_episode_title,
2323
validate_selection,
2424
validate_episode_selection,
2525
display_episodes_list,
2626
display_seasons_list
2727
)
28-
from StreamingCommunity.Api.Template.config_loader import site_constant
29-
from StreamingCommunity.Api.Template.object import MediaItem
28+
from StreamingCommunity.Api.Template import site_constants, MediaItem
3029
from StreamingCommunity.Api.Player.supervideo import VideoSource
3130

3231

@@ -53,11 +52,11 @@ def download_video(index_season_selected: int, index_episode_selected: int, scra
5352

5453
# Get episode information
5554
obj_episode = scrape_serie.selectEpisode(index_season_selected, index_episode_selected-1)
56-
console.print(f"\n[yellow]Download: [red]{site_constant.SITE_NAME} → [cyan]{scrape_serie.series_name} \\ [magenta]{obj_episode.name} ([cyan]S{index_season_selected}E{index_episode_selected}) \n")
55+
console.print(f"\n[yellow]Download: [red]{site_constants.SITE_NAME} → [cyan]{scrape_serie.series_name} \\ [magenta]{obj_episode.name} ([cyan]S{index_season_selected}E{index_episode_selected}) \n")
5756

5857
# Define filename and path for the downloaded video
5958
mp4_name = f"{map_episode_title(scrape_serie.series_name, index_season_selected, index_episode_selected, obj_episode.name)}.{extension_output}"
60-
mp4_path = os.path.join(site_constant.SERIES_FOLDER, scrape_serie.series_name, f"S{index_season_selected}")
59+
mp4_path = os.path.join(site_constants.SERIES_FOLDER, scrape_serie.series_name, f"S{index_season_selected}")
6160

6261
# Retrieve scws and if available master playlist
6362
video_source = VideoSource(obj_episode.url)

0 commit comments

Comments
 (0)