Skip to content

Commit ae2e1ca

Browse files
authored
Bump v3.2.5 (#351)
* Fix wrong number season * Bump v3.2.5 * Update domains.json * Update version.py
1 parent ffa569a commit ae2e1ca

File tree

52 files changed

+3085
-413
lines changed

Some content is hidden

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

52 files changed

+3085
-413
lines changed

.github/.domain/domains.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,4 @@
5959
"old_domain": "life",
6060
"time_change": "2025-07-07 17:19:15"
6161
}
62-
}
62+
}

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -801,3 +801,5 @@ API non ufficiale per accedere ai contenuti del sito italiano StreamingCommunity
801801
# Disclaimer
802802

803803
This software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose, and noninfringement. In no event shall the authors or copyright holders be liable for any claim, damages, or other liability, whether in an action of contract, tort, or otherwise, arising from, out of, or in connection with the software or the use or other dealings in the software.
804+
805+
> **Note:** DASH downloads require a valid L3 CDM (Content Decryption Module) to proceed. This project does not provide, include, or facilitate obtaining any CDM. Users are responsible for ensuring compliance with all applicable laws and requirements regarding DRM and decryption modules.

StreamingCommunity/Api/Player/Helper/Vixcloud/util.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,13 @@ def get_season_by_number(self, number: int) -> Optional[Season]:
9090
Parameters:
9191
- number (int): The season number (1-based index)
9292
"""
93+
if len(self.seasons) == 1:
94+
return self.seasons[0]
95+
9396
for season in self.seasons:
9497
if season.number == number:
9598
return season
99+
96100
return None
97101

98102
def __len__(self) -> int:

StreamingCommunity/Api/Player/hdplayer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818

1919

2020
class VideoSource:
21-
def __init__(self, proxy=None):
22-
self.client = httpx.Client(headers={'user-agent': get_userAgent()}, timeout=MAX_TIMEOUT, proxy=proxy, verify=REQUEST_VERIFY)
21+
def __init__(self):
22+
self.client = httpx.Client(headers={'user-agent': get_userAgent()}, timeout=MAX_TIMEOUT, verify=REQUEST_VERIFY)
2323

2424
def extractLinkHdPlayer(self, response):
2525
"""Extract iframe source from the page."""

StreamingCommunity/Api/Player/mixdrop.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class VideoSource:
2525

2626
def __init__(self, url: str):
2727
self.url = url
28-
self.redirect_url: str | None = None
28+
self.redirect_url: str = None
2929
self._init_headers()
3030

3131
def _init_headers(self) -> None:

StreamingCommunity/Api/Player/vixcloud.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626

2727
class VideoSource:
28-
def __init__(self, url: str, is_series: bool, media_id: int = None, proxy: str = None):
28+
def __init__(self, url: str, is_series: bool, media_id: int = None):
2929
"""
3030
Initialize video source for streaming site.
3131
@@ -36,7 +36,6 @@ def __init__(self, url: str, is_series: bool, media_id: int = None, proxy: str =
3636
"""
3737
self.headers = {'user-agent': get_userAgent()}
3838
self.url = url
39-
self.proxy = proxy
4039
self.is_series = is_series
4140
self.media_id = media_id
4241
self.iframe_src = None
@@ -58,7 +57,7 @@ def get_iframe(self, episode_id: int) -> None:
5857
}
5958

6059
try:
61-
response = httpx.get(f"{self.url}/iframe/{self.media_id}", headers=self.headers, params=params, timeout=MAX_TIMEOUT, proxy=self.proxy, verify=REQUEST_VERIFY)
60+
response = httpx.get(f"{self.url}/iframe/{self.media_id}", headers=self.headers, params=params, timeout=MAX_TIMEOUT, verify=REQUEST_VERIFY)
6261
response.raise_for_status()
6362

6463
# Parse response with BeautifulSoup to get iframe source
@@ -123,12 +122,12 @@ def get_content(self) -> None:
123122
logging.error(f"Error getting content: {e}")
124123
raise
125124

126-
def get_playlist(self) -> str | None:
125+
def get_playlist(self) -> str:
127126
"""
128127
Generate authenticated playlist URL.
129128
130129
Returns:
131-
str | None: Fully constructed playlist URL with authentication parameters, or None if content unavailable
130+
str: Fully constructed playlist URL with authentication parameters, or None if content unavailable
132131
"""
133132
if not self.window_parameter:
134133
return None

StreamingCommunity/Api/Site/1337xx/__init__.py

Lines changed: 0 additions & 72 deletions
This file was deleted.

StreamingCommunity/Api/Site/1337xx/site.py

Lines changed: 0 additions & 82 deletions
This file was deleted.

StreamingCommunity/Api/Site/1337xx/title.py

Lines changed: 0 additions & 61 deletions
This file was deleted.

0 commit comments

Comments
 (0)