Skip to content

Commit 6fbd5b5

Browse files
committed
Update README.md
1 parent 6d0d67c commit 6fbd5b5

File tree

7 files changed

+350
-488
lines changed

7 files changed

+350
-488
lines changed
52.7 KB
Loading
489 KB
Loading
213 KB
Loading

.github/.site/login.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# How to Extract Login Keys
2+
3+
Follow the instructions below to obtain the required keys for each streaming service and add them to your `config.json`.
4+
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+
27+
## Crunchyroll: Get `etp_rt` and `x_cr_tab_id`
28+
29+
1. **Log in** to [Crunchyroll](https://www.crunchyroll.com/).
30+
31+
2. **Open Developer Tools** (<kbd>F12</kbd>).
32+
33+
3. **Get `etp_rt`:**
34+
- Go to the **Application** tab.
35+
- Find the `etp_rt` cookie under **Cookies** for the site.
36+
- **Copy** its value for `config.json`.
37+
- ![etp_rt location](./img/crunchyroll_etp_rt.png)
38+
39+
4. **Get `x_cr_tab_id`:**
40+
- Start playing any video.
41+
- Go to the **Network** tab.
42+
- Filter by **XHR** requests.
43+
- Select a request and find the `x-cr-tab-id` header.
44+
- **Copy** its value for `config.json`.
45+
- ![x_cr_tab_id location](./img/crunchyroll_x_cr_tab_id.png)
46+
47+
</TabItem>
48+
</Tabs>

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ jobs:
108108
- name: Build executable with PyInstaller
109109
shell: bash
110110
run: |
111-
pyinstaller --onefile --hidden-import=pycryptodomex --hidden-import=ua_generator \
111+
pyinstaller --onefile --strip --optimize 2 --hidden-import=pycryptodomex --hidden-import=ua_generator \
112112
--hidden-import=qbittorrentapi --hidden-import=qbittorrent \
113113
--hidden-import=bs4 --hidden-import=httpx --hidden-import=rich --hidden-import=tqdm \
114114
--hidden-import=m3u8 --hidden-import=psutil --hidden-import=unidecode \

0 commit comments

Comments
 (0)