StreamingCommunity 3.0.5__tar.gz → 3.0.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of StreamingCommunity might be problematic. Click here for more details.
- {streamingcommunity-3.0.5/StreamingCommunity.egg-info → streamingcommunity-3.0.6}/PKG-INFO +2 -2
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/README.md +2 -2
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Site/1337xx/__init__.py +2 -2
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Site/altadefinizione/__init__.py +1 -1
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Site/animeunity/__init__.py +1 -1
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Site/animeworld/__init__.py +2 -2
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Site/guardaserie/__init__.py +2 -2
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Site/raiplay/__init__.py +2 -2
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Site/streamingcommunity/__init__.py +16 -2
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Site/streamingcommunity/film.py +1 -1
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Site/streamingcommunity/series.py +2 -2
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Site/streamingcommunity/site.py +2 -2
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Site/streamingwatch/__init__.py +2 -2
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Upload/version.py +1 -1
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Util/config_json.py +7 -2
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/run.py +23 -38
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6/StreamingCommunity.egg-info}/PKG-INFO +2 -2
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/setup.py +1 -1
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/LICENSE +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/MANIFEST.in +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Player/Helper/Vixcloud/js_parser.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Player/Helper/Vixcloud/util.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Player/ddl.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Player/hdplayer.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Player/mediapolisvod.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Player/mixdrop.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Player/supervideo.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Player/sweetpixel.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Player/vixcloud.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Site/1337xx/site.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Site/1337xx/title.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Site/altadefinizione/film.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Site/altadefinizione/series.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Site/altadefinizione/site.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Site/altadefinizione/util/ScrapeSerie.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Site/animeunity/film.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Site/animeunity/serie.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Site/animeunity/site.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Site/animeunity/util/ScrapeSerie.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Site/animeworld/film.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Site/animeworld/serie.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Site/animeworld/site.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Site/animeworld/util/ScrapeSerie.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Site/guardaserie/series.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Site/guardaserie/site.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Site/guardaserie/util/ScrapeSerie.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Site/raiplay/film.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Site/raiplay/series.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Site/raiplay/site.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Site/raiplay/util/ScrapeSerie.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Site/streamingcommunity/util/ScrapeSerie.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Site/streamingwatch/film.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Site/streamingwatch/series.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Site/streamingwatch/site.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Site/streamingwatch/util/ScrapeSerie.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Template/Class/SearchType.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Template/Util/__init__.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Template/Util/manage_ep.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Template/__init__.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Template/config_loader.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Template/site.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Lib/Downloader/HLS/downloader.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Lib/Downloader/HLS/segments.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Lib/Downloader/MP4/downloader.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Lib/Downloader/TOR/downloader.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Lib/Downloader/__init__.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Lib/FFmpeg/__init__.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Lib/FFmpeg/capture.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Lib/FFmpeg/command.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Lib/FFmpeg/util.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Lib/M3U8/__init__.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Lib/M3U8/decryptor.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Lib/M3U8/estimator.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Lib/M3U8/parser.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Lib/M3U8/url_fixer.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Lib/Proxies/proxy.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Lib/TMBD/__init__.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Lib/TMBD/obj_tmbd.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Lib/TMBD/tmdb.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/TelegramHelp/__init__.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/TelegramHelp/telegram_bot.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Upload/update.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Util/color.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Util/ffmpeg_installer.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Util/headers.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Util/logger.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Util/message.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Util/os.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Util/table.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/__init__.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/global_search.py +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity.egg-info/SOURCES.txt +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity.egg-info/dependency_links.txt +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity.egg-info/entry_points.txt +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity.egg-info/requires.txt +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity.egg-info/top_level.txt +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/requirements.txt +0 -0
- {streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: StreamingCommunity
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.6
|
|
4
4
|
Home-page: https://github.com/Lovi-0/StreamingCommunity
|
|
5
5
|
Author: Lovi-0
|
|
6
6
|
Project-URL: Bug Reports, https://github.com/Lovi-0/StreamingCommunity/issues
|
|
@@ -71,7 +71,7 @@ Dynamic: requires-python
|
|
|
71
71
|
<summary>📦 Installation</summary>
|
|
72
72
|
|
|
73
73
|
- 🔄 [Update Domains](#update-domains)
|
|
74
|
-
- 🌐 [Available Sites](https://arrowar.github.io/
|
|
74
|
+
- 🌐 [Available Sites](https://arrowar.github.io/StreamingCommunity/)
|
|
75
75
|
- 🛠️ [Installation](#installation)
|
|
76
76
|
- 📦 [PyPI Installation](#1-pypi-installation)
|
|
77
77
|
- 🔄 [Automatic Installation](#2-automatic-installation)
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
<summary>📦 Installation</summary>
|
|
36
36
|
|
|
37
37
|
- 🔄 [Update Domains](#update-domains)
|
|
38
|
-
- 🌐 [Available Sites](https://arrowar.github.io/
|
|
38
|
+
- 🌐 [Available Sites](https://arrowar.github.io/StreamingCommunity/)
|
|
39
39
|
- 🛠️ [Installation](#installation)
|
|
40
40
|
- 📦 [PyPI Installation](#1-pypi-installation)
|
|
41
41
|
- 🔄 [Automatic Installation](#2-automatic-installation)
|
|
@@ -799,4 +799,4 @@ Tool per guardare o scaricare film dalla piattaforma StreamingCommunity.
|
|
|
799
799
|
|
|
800
800
|
# Disclaimer
|
|
801
801
|
|
|
802
|
-
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.
|
|
802
|
+
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.
|
|
@@ -25,7 +25,7 @@ from .series import download_series
|
|
|
25
25
|
|
|
26
26
|
# Variable
|
|
27
27
|
indice = 0
|
|
28
|
-
_useFor = "
|
|
28
|
+
_useFor = "Film_&_Serie"
|
|
29
29
|
_priority = 0
|
|
30
30
|
_engineDownload = "hls"
|
|
31
31
|
_deprecate = False
|
|
@@ -97,7 +97,21 @@ def search(string_to_search: str = None, get_onlyDatabase: bool = False, direct_
|
|
|
97
97
|
return
|
|
98
98
|
|
|
99
99
|
if string_to_search is None:
|
|
100
|
-
|
|
100
|
+
if site_constant.TELEGRAM_BOT:
|
|
101
|
+
bot = get_bot_instance()
|
|
102
|
+
string_to_search = bot.ask(
|
|
103
|
+
"key_search",
|
|
104
|
+
f"Enter the search term\nor type 'back' to return to the menu: ",
|
|
105
|
+
None
|
|
106
|
+
)
|
|
107
|
+
|
|
108
|
+
if string_to_search == 'back':
|
|
109
|
+
|
|
110
|
+
# Restart the script
|
|
111
|
+
subprocess.Popen([sys.executable] + sys.argv)
|
|
112
|
+
sys.exit()
|
|
113
|
+
else:
|
|
114
|
+
string_to_search = msg.ask(f"\n[purple]Insert a word to search in [green]{site_constant.SITE_NAME}").strip()
|
|
101
115
|
|
|
102
116
|
# Search on database
|
|
103
117
|
len_database = title_search(string_to_search)
|
|
@@ -55,7 +55,7 @@ def download_film(select_title: MediaItem) -> str:
|
|
|
55
55
|
console.print(f"[bold yellow]Download:[/bold yellow] [red]{site_constant.SITE_NAME}[/red] → [cyan]{select_title.name}[/cyan] \n")
|
|
56
56
|
|
|
57
57
|
# Init class
|
|
58
|
-
video_source = VideoSource(site_constant.FULL_URL, False, select_title.id)
|
|
58
|
+
video_source = VideoSource(f"{site_constant.FULL_URL}/it", False, select_title.id)
|
|
59
59
|
|
|
60
60
|
# Retrieve scws and if available master playlist
|
|
61
61
|
video_source.get_iframe(select_title.id)
|
|
@@ -154,8 +154,8 @@ def download_series(select_season: MediaItem, season_selection: str = None, epis
|
|
|
154
154
|
start_message()
|
|
155
155
|
|
|
156
156
|
# Init class
|
|
157
|
-
video_source = VideoSource(site_constant.FULL_URL, True, select_season.id)
|
|
158
|
-
scrape_serie = GetSerieInfo(site_constant.FULL_URL, select_season.id, select_season.slug)
|
|
157
|
+
video_source = VideoSource(f"{site_constant.FULL_URL}/it", True, select_season.id)
|
|
158
|
+
scrape_serie = GetSerieInfo(f"{site_constant.FULL_URL}/it", select_season.id, select_season.slug)
|
|
159
159
|
|
|
160
160
|
# Collect information about season
|
|
161
161
|
scrape_serie.getNumberSeason()
|
|
@@ -46,7 +46,7 @@ def title_search(query: str) -> int:
|
|
|
46
46
|
|
|
47
47
|
try:
|
|
48
48
|
response = httpx.get(
|
|
49
|
-
site_constant.FULL_URL,
|
|
49
|
+
f"{site_constant.FULL_URL}/it",
|
|
50
50
|
headers={'user-agent': get_userAgent()},
|
|
51
51
|
timeout=max_timeout
|
|
52
52
|
)
|
|
@@ -59,7 +59,7 @@ def title_search(query: str) -> int:
|
|
|
59
59
|
console.print(f"[red]Site: {site_constant.SITE_NAME} version, request error: {e}")
|
|
60
60
|
return 0
|
|
61
61
|
|
|
62
|
-
search_url = f"{site_constant.FULL_URL}/search?q={query}"
|
|
62
|
+
search_url = f"{site_constant.FULL_URL}/it/search?q={query}"
|
|
63
63
|
console.print(f"[cyan]Search url: [yellow]{search_url}")
|
|
64
64
|
|
|
65
65
|
try:
|
{streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Util/config_json.py
RENAMED
|
@@ -36,8 +36,13 @@ class ConfigManager:
|
|
|
36
36
|
base_path = os.path.dirname(sys.executable)
|
|
37
37
|
|
|
38
38
|
else:
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
|
|
40
|
+
# Get the actual path of the module file
|
|
41
|
+
current_file_path = os.path.abspath(__file__)
|
|
42
|
+
# Navigate upwards to find the project root
|
|
43
|
+
# Assuming this file is in a package structure like StreamingCommunity/Util/config_json.py
|
|
44
|
+
# We need to go up 2 levels to reach the project root
|
|
45
|
+
base_path = os.path.dirname(os.path.dirname(os.path.dirname(current_file_path)))
|
|
41
46
|
|
|
42
47
|
# Initialize file paths
|
|
43
48
|
self.file_path = os.path.join(base_path, file_name)
|
|
@@ -193,6 +193,13 @@ def force_exit():
|
|
|
193
193
|
|
|
194
194
|
def main(script_id = 0):
|
|
195
195
|
|
|
196
|
+
color_map = {
|
|
197
|
+
"anime": "red",
|
|
198
|
+
"film_&_serie": "yellow",
|
|
199
|
+
"serie": "blue",
|
|
200
|
+
"torrent": "white"
|
|
201
|
+
}
|
|
202
|
+
|
|
196
203
|
if TELEGRAM_BOT:
|
|
197
204
|
bot = get_bot_instance()
|
|
198
205
|
bot.send_message(f"Avviato script {script_id}", None)
|
|
@@ -256,18 +263,6 @@ def main(script_id = 0):
|
|
|
256
263
|
)
|
|
257
264
|
|
|
258
265
|
# Add arguments for search functions
|
|
259
|
-
color_map = {
|
|
260
|
-
"anime": "red",
|
|
261
|
-
"film_serie": "yellow",
|
|
262
|
-
"film": "blue",
|
|
263
|
-
"serie": "green",
|
|
264
|
-
"other": "white"
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
# Add numeric arguments for each search module
|
|
268
|
-
for idx, (alias, (_, use_for)) in enumerate(search_functions.items()):
|
|
269
|
-
parser.add_argument(f'--{idx}', action='store_true', help=f'Search using {alias.split("_")[0]} ({use_for})')
|
|
270
|
-
|
|
271
266
|
parser.add_argument('-s', '--search', default=None, help='Search terms')
|
|
272
267
|
|
|
273
268
|
# Parse command-line arguments
|
|
@@ -302,44 +297,41 @@ def main(script_id = 0):
|
|
|
302
297
|
global_search(search_terms)
|
|
303
298
|
return
|
|
304
299
|
|
|
305
|
-
#
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
300
|
+
# Create mappings using module indice
|
|
301
|
+
input_to_function = {}
|
|
302
|
+
choice_labels = {}
|
|
303
|
+
|
|
304
|
+
for alias, (func, use_for) in search_functions.items():
|
|
305
|
+
module_name = alias.split("_")[0]
|
|
306
|
+
try:
|
|
307
|
+
mod = importlib.import_module(f'StreamingCommunity.Api.Site.{module_name}')
|
|
308
|
+
site_index = str(getattr(mod, 'indice'))
|
|
309
|
+
input_to_function[site_index] = func
|
|
310
|
+
choice_labels[site_index] = (module_name.capitalize(), use_for.lower())
|
|
311
|
+
except Exception as e:
|
|
312
|
+
console.print(f"[red]Error mapping module {module_name}: {str(e)}")
|
|
318
313
|
|
|
319
|
-
# Display the category legend
|
|
314
|
+
# Display the category legend
|
|
320
315
|
legend_text = " | ".join([f"[{color}]{category.capitalize()}[/{color}]" for category, color in color_map.items()])
|
|
321
316
|
console.print(f"\n[bold green]Category Legend:[/bold green] {legend_text}")
|
|
322
317
|
|
|
323
|
-
# Construct
|
|
318
|
+
# Construct prompt with proper color mapping
|
|
324
319
|
prompt_message = "[green]Insert category [white](" + ", ".join(
|
|
325
|
-
[f"
|
|
320
|
+
[f"[{color_map.get(label[1], 'white')}]{key}: {label[0]}[/{color_map.get(label[1], 'white')}]"
|
|
326
321
|
for key, label in choice_labels.items()]
|
|
327
322
|
) + "[white])"
|
|
328
323
|
|
|
329
324
|
if TELEGRAM_BOT:
|
|
330
|
-
# Display the category legend in a single line
|
|
331
325
|
category_legend_str = "Categorie: \n" + " | ".join([
|
|
332
326
|
f"{category.capitalize()}" for category in color_map.keys()
|
|
333
327
|
])
|
|
334
328
|
|
|
335
|
-
# Build message with aliases
|
|
336
329
|
prompt_message = "Inserisci il sito:\n" + "\n".join(
|
|
337
330
|
[f"{key}: {label[0]}" for key, label in choice_labels.items()]
|
|
338
331
|
)
|
|
339
332
|
|
|
340
333
|
console.print(f"\n{prompt_message}")
|
|
341
334
|
|
|
342
|
-
# Chiedi la scelta all'utente con il bot Telegram
|
|
343
335
|
category = bot.ask(
|
|
344
336
|
"select_provider",
|
|
345
337
|
f"{category_legend_str}\n\n{prompt_message}",
|
|
@@ -351,13 +343,6 @@ def main(script_id = 0):
|
|
|
351
343
|
|
|
352
344
|
# Run the corresponding function based on user input
|
|
353
345
|
if category in input_to_function:
|
|
354
|
-
"""if category == global_search_key:
|
|
355
|
-
# Run global search
|
|
356
|
-
run_function(input_to_function[category], search_terms=search_terms)
|
|
357
|
-
|
|
358
|
-
else:"""
|
|
359
|
-
|
|
360
|
-
# Run normal site-specific search
|
|
361
346
|
run_function(input_to_function[category], search_terms=search_terms)
|
|
362
347
|
|
|
363
348
|
else:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: StreamingCommunity
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.6
|
|
4
4
|
Home-page: https://github.com/Lovi-0/StreamingCommunity
|
|
5
5
|
Author: Lovi-0
|
|
6
6
|
Project-URL: Bug Reports, https://github.com/Lovi-0/StreamingCommunity/issues
|
|
@@ -71,7 +71,7 @@ Dynamic: requires-python
|
|
|
71
71
|
<summary>📦 Installation</summary>
|
|
72
72
|
|
|
73
73
|
- 🔄 [Update Domains](#update-domains)
|
|
74
|
-
- 🌐 [Available Sites](https://arrowar.github.io/
|
|
74
|
+
- 🌐 [Available Sites](https://arrowar.github.io/StreamingCommunity/)
|
|
75
75
|
- 🛠️ [Installation](#installation)
|
|
76
76
|
- 📦 [PyPI Installation](#1-pypi-installation)
|
|
77
77
|
- 🔄 [Automatic Installation](#2-automatic-installation)
|
|
@@ -10,7 +10,7 @@ with open(os.path.join(os.path.dirname(__file__), "requirements.txt"), "r", enco
|
|
|
10
10
|
|
|
11
11
|
setup(
|
|
12
12
|
name="StreamingCommunity",
|
|
13
|
-
version="3.0.
|
|
13
|
+
version="3.0.6",
|
|
14
14
|
long_description=read_readme(),
|
|
15
15
|
long_description_content_type="text/markdown",
|
|
16
16
|
author="Lovi-0",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Player/hdplayer.py
RENAMED
|
File without changes
|
{streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Player/mediapolisvod.py
RENAMED
|
File without changes
|
{streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Player/mixdrop.py
RENAMED
|
File without changes
|
{streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Player/supervideo.py
RENAMED
|
File without changes
|
{streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Player/sweetpixel.py
RENAMED
|
File without changes
|
{streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Player/vixcloud.py
RENAMED
|
File without changes
|
{streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Site/1337xx/site.py
RENAMED
|
File without changes
|
{streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Site/1337xx/title.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Site/animeunity/film.py
RENAMED
|
File without changes
|
|
File without changes
|
{streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Site/animeunity/site.py
RENAMED
|
File without changes
|
|
File without changes
|
{streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Site/animeworld/film.py
RENAMED
|
File without changes
|
|
File without changes
|
{streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Site/animeworld/site.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Site/raiplay/film.py
RENAMED
|
File without changes
|
{streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Site/raiplay/series.py
RENAMED
|
File without changes
|
{streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Site/raiplay/site.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Template/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Api/Template/site.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Lib/Downloader/__init__.py
RENAMED
|
File without changes
|
{streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Lib/FFmpeg/__init__.py
RENAMED
|
File without changes
|
{streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Lib/FFmpeg/capture.py
RENAMED
|
File without changes
|
{streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Lib/FFmpeg/command.py
RENAMED
|
File without changes
|
|
File without changes
|
{streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Lib/M3U8/__init__.py
RENAMED
|
File without changes
|
{streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Lib/M3U8/decryptor.py
RENAMED
|
File without changes
|
{streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Lib/M3U8/estimator.py
RENAMED
|
File without changes
|
|
File without changes
|
{streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Lib/M3U8/url_fixer.py
RENAMED
|
File without changes
|
{streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Lib/Proxies/proxy.py
RENAMED
|
File without changes
|
{streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Lib/TMBD/__init__.py
RENAMED
|
File without changes
|
{streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Lib/TMBD/obj_tmbd.py
RENAMED
|
File without changes
|
|
File without changes
|
{streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/TelegramHelp/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity/Util/ffmpeg_installer.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity.egg-info/entry_points.txt
RENAMED
|
File without changes
|
{streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity.egg-info/requires.txt
RENAMED
|
File without changes
|
{streamingcommunity-3.0.5 → streamingcommunity-3.0.6}/StreamingCommunity.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|