Skip to content

Commit fa709e5

Browse files
authored
Bump v3.3.7
* v1 * v2 * v3 * v4 * v5 * v6 * v7 * v8 * v10 la bibbia * v11 la santità
1 parent 631ccdf commit fa709e5

File tree

49 files changed

+963
-1213
lines changed

Some content is hidden

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

49 files changed

+963
-1213
lines changed
-213 KB
Binary file not shown.

.github/.site/index.html

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -46,21 +46,6 @@ <h3 class="footer-title">Repository</h3>
4646
</p>
4747
</div>
4848

49-
<div class="footer-section">
50-
<h3 class="footer-title">Support</h3>
51-
<ul class="footer-links">
52-
<li>
53-
<a href="https://www.paypal.com/donate/?hosted_button_id=UXTWMT8P6HE2C" target="_blank" rel="noopener noreferrer">
54-
<i class="fab fa-paypal"></i>
55-
Donate with PayPal
56-
</a>
57-
</li>
58-
</ul>
59-
<p class="footer-description">
60-
Support the development of this project through donations.
61-
</p>
62-
</div>
63-
6449
<div class="footer-section">
6550
<h3 class="footer-title">Info</h3>
6651
<ul class="footer-links">

.github/.site/login.md

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,6 @@
22

33
Follow the instructions below to obtain the required keys for each streaming service and add them to your `config.json`.
44

5-
<Tabs>
6-
<TabItem value="mediasetinfinity" label="Mediaset Infinity">
7-
8-
## Mediaset Infinity: Get `beToken`
9-
10-
1. **Log in** to [Mediaset Infinity](https://mediasetinfinity.mediaset.it).
11-
12-
2. **Open Developer Tools** (press <kbd>F12</kbd>).
13-
14-
3. Go to the **Application** tab (or **Storage** in some browsers).
15-
16-
4. Find `beToken` in:
17-
- **Cookies** for the site, or
18-
- **Session Storage** under `accountData`.
19-
20-
5. **Copy** the value of `beToken` and paste it into your `config.json`.
21-
22-
![beToken location](./img/mediasetinfinity_beToken.png)
23-
24-
</TabItem>
25-
<TabItem value="crunchyroll" label="Crunchyroll">
26-
275
## Crunchyroll: Get `etp_rt` and `x_cr_tab_id`
286

297
1. **Log in** to [Crunchyroll](https://www.crunchyroll.com/).

.github/workflows/testing.yml

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -8,48 +8,6 @@ on:
88
workflow_dispatch:
99

1010
jobs:
11-
test-load-search-api:
12-
name: Test Load Search API
13-
runs-on: ubuntu-latest
14-
15-
steps:
16-
- uses: actions/checkout@v3
17-
18-
- name: Set up Python
19-
uses: actions/setup-python@v4
20-
with:
21-
python-version: '3.11'
22-
23-
- name: Install dependencies
24-
run: |
25-
python -m pip install --upgrade pip
26-
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
27-
28-
- name: Run loadSearchApi test
29-
run: |
30-
PYTHONPATH=$PYTHONPATH:$(pwd) python -m Test.Util.loadSearchApi
31-
32-
test-os-path:
33-
name: Test OS Path
34-
runs-on: ubuntu-latest
35-
36-
steps:
37-
- uses: actions/checkout@v3
38-
39-
- name: Set up Python
40-
uses: actions/setup-python@v4
41-
with:
42-
python-version: '3.11'
43-
44-
- name: Install dependencies
45-
run: |
46-
python -m pip install --upgrade pip
47-
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
48-
49-
- name: Run osPath test
50-
run: |
51-
PYTHONPATH=$PYTHONPATH:$(pwd) python -m Test.Util.osPath
52-
5311
ruff-lint:
5412
name: Lint with Ruff
5513
runs-on: ubuntu-latest

StreamingCommunity/Api/Site/altadefinizione/film.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def download_film(select_title: MediaItem) -> str:
5656
TelegramSession.updateScriptId(script_id, select_title.name)
5757

5858
start_message()
59-
console.print(f"[bold yellow]Download:[/bold yellow] [red]{site_constant.SITE_NAME}[/red] → [cyan]{select_title.name}[/cyan] \n")
59+
console.print(f"\n[bold yellow]Download:[/bold yellow] [red]{site_constant.SITE_NAME}[/red] → [cyan]{select_title.name}[/cyan] \n")
6060

6161
# Extract mostraguarda URL
6262
try:

StreamingCommunity/Api/Site/altadefinizione/series.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def download_video(index_season_selected: int, index_episode_selected: int, scra
5454

5555
# Get episode information
5656
obj_episode = scrape_serie.selectEpisode(index_season_selected, index_episode_selected-1)
57-
console.print(f"[bold yellow]Download:[/bold yellow] [red]{site_constant.SITE_NAME}[/red] → [cyan]{scrape_serie.series_name}[/cyan] \\ [bold magenta]{obj_episode.name}[/bold magenta] ([cyan]S{index_season_selected}E{index_episode_selected}[/cyan]) \n")
57+
console.print(f"\n[bold yellow]Download:[/bold yellow] [red]{site_constant.SITE_NAME}[/red] → [cyan]{scrape_serie.series_name}[/cyan] \\ [bold magenta]{obj_episode.name}[/bold magenta] ([cyan]S{index_season_selected}E{index_episode_selected}[/cyan]) \n")
5858

5959
# Telegram integration
6060
if site_constant.TELEGRAM_BOT:

StreamingCommunity/Api/Site/animeunity/serie.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def download_episode(index_select: int, scrape_serie: ScrapeSerieAnime, video_so
4848

4949
# Get episode information
5050
obj_episode = scrape_serie.selectEpisode(1, index_select)
51-
console.print(f"[bold yellow]Download:[/bold yellow] [red]{site_constant.SITE_NAME}[/red] → [cyan]{scrape_serie.series_name}[/cyan] ([cyan]E{obj_episode.number}[/cyan]) \n")
51+
console.print(f"\n[bold yellow]Download:[/bold yellow] [red]{site_constant.SITE_NAME}[/red] → [cyan]{scrape_serie.series_name}[/cyan] ([cyan]E{obj_episode.number}[/cyan]) \n")
5252

5353
if site_constant.TELEGRAM_BOT:
5454
bot = get_bot_instance()

StreamingCommunity/Api/Site/animeworld/film.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def download_film(select_title: MediaItem):
4141

4242
# Get episode information
4343
episode_data = episodes[0]
44-
console.print(f"[bold yellow]Download:[/bold yellow] [red]{site_constant.SITE_NAME}[/red] ([cyan]{scrape_serie.get_name()}[/cyan]) \n")
44+
console.print(f"\n[bold yellow]Download:[/bold yellow] [red]{site_constant.SITE_NAME}[/red] ([cyan]{scrape_serie.get_name()}[/cyan]) \n")
4545

4646
# Define filename and path for the downloaded video
4747
mp4_name = f"{scrape_serie.get_name()}.mp4"

StreamingCommunity/Api/Site/animeworld/serie.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def download_episode(index_select: int, scrape_serie: ScrapSerie) -> Tuple[str,b
4747

4848
# Get episode information
4949
episode_data = scrape_serie.selectEpisode(1, index_select)
50-
console.print(f"[bold yellow]Download:[/bold yellow] [red]{site_constant.SITE_NAME}[/red] → [cyan]{scrape_serie.get_name()}[/cyan] ([cyan]E{str(index_select+1)}[/cyan]) \n")
50+
console.print(f"\n[bold yellow]Download:[/bold yellow] [red]{site_constant.SITE_NAME}[/red] → [cyan]{scrape_serie.get_name()}[/cyan] ([cyan]E{str(index_select+1)}[/cyan]) \n")
5151

5252
# Define filename and path for the downloaded video
5353
mp4_name = f"{scrape_serie.get_name()}_EP_{dynamic_format_number(str(index_select+1))}.mp4"

StreamingCommunity/Api/Site/crunchyroll/film.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def download_film(select_title: MediaItem) -> str:
4040
- str: output path if successful, otherwise None
4141
"""
4242
start_message()
43-
console.print(f"[bold yellow]Download:[/bold yellow] [red]{site_constant.SITE_NAME}[/red] → [cyan]{select_title.name}[/cyan] \n")
43+
console.print(f"\n[bold yellow]Download:[/bold yellow] [red]{site_constant.SITE_NAME}[/red] → [cyan]{select_title.name}[/cyan] \n")
4444

4545
# Define filename and path for the downloaded video
4646
mp4_name = os_manager.get_sanitize_file(select_title.name) + ".mp4"
@@ -49,7 +49,7 @@ def download_film(select_title: MediaItem) -> str:
4949
# Generate mpd and license URLs
5050
url_id = select_title.get('url').split('/')[-1]
5151
device_id = generate_device_id()
52-
mpd_url, mpd_headers = get_playback_session(get_auth_token(device_id), device_id, url_id)
52+
mpd_url, mpd_headers, mpd_list_sub = get_playback_session(get_auth_token(device_id), device_id, url_id)
5353
parsed_url = urlparse(mpd_url)
5454
query_params = parse_qs(parsed_url.query)
5555

@@ -58,6 +58,7 @@ def download_film(select_title: MediaItem) -> str:
5858
cdm_device=get_wvd_path(),
5959
license_url='https://www.crunchyroll.com/license/v1/license/widevine',
6060
mpd_url=mpd_url,
61+
mpd_sub_list=mpd_list_sub,
6162
output_path=os.path.join(mp4_path, mp4_name),
6263
)
6364
dash_process.parse_manifest(custom_headers=mpd_headers)

0 commit comments

Comments
 (0)