Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0652bfcbc1 | ||
|
|
65552a162d | ||
|
|
0700247265 | ||
|
|
11a7c8b661 | ||
|
|
1fce3b5dca | ||
|
|
46173e02e4 | ||
|
|
ac991012e0 | ||
|
|
60c8fab21f | ||
|
|
dda5d53878 |
@@ -9,12 +9,20 @@ Sync project and install dependencies.
|
|||||||
uv sync
|
uv sync
|
||||||
```
|
```
|
||||||
|
|
||||||
Run from source:
|
Activate the virtual environment and run tool with Python:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
.venv/bin/activate # For Windows, use ".\.venv\Scripts\Activate.ps1" or ".\.venv\Scripts\activate.bat"
|
||||||
python main.py
|
python main.py
|
||||||
```
|
```
|
||||||
|
|
||||||
|
# Run from build version
|
||||||
|
Download this tool from [main repo](https://repo.weispace.net/wei/PlaylistSaver/releases) or [GitHub mirror](https://github.com/WeiDnite1222/PlaylistSaver) (Ensure the build version you downloaded support you
|
||||||
|
operating system and architecture)
|
||||||
|
|
||||||
|
Use any decompress tool to unzip the build file, then open `PlaylistSaver.exe` (For Unix-like system is `PlaylistSaver`)
|
||||||
|
|
||||||
|
See `How to use` to get information about how to use this tool.
|
||||||
|
|
||||||
## Build
|
## Build
|
||||||
|
|
||||||
> [!IMPORTANT]
|
> [!IMPORTANT]
|
||||||
@@ -28,12 +36,52 @@ uv pip install -e ".[build]"
|
|||||||
|
|
||||||
Build this project with PyInstaller:
|
Build this project with PyInstaller:
|
||||||
|
|
||||||
|
On Windows, use `build.ps1` script:
|
||||||
```powershell
|
```powershell
|
||||||
.\build.ps1 -Clean
|
.\build.ps1 -Clean # Or "powershell .\build.ps1 -Clean" if you use cmd
|
||||||
|
```
|
||||||
|
|
||||||
|
On other platform, run below command to build:
|
||||||
|
```bash
|
||||||
|
python -m PyInstaller PlaylistSaver.spec
|
||||||
```
|
```
|
||||||
|
|
||||||
The build is written to `dist\PlaylistSaver`. This includes only the
|
The build is written to `dist\PlaylistSaver`. This includes only the
|
||||||
bundled mpv files matching the operating system and CPU architecture on which the
|
bundled mpv files matching the operating system and CPU architecture on which the
|
||||||
build is performed. Build each target platform on that platform.
|
build is performed. Build each target platform on that platform.
|
||||||
|
|
||||||
## How to use
|
## Before Use
|
||||||
|
|
||||||
|
> [!IMPORTANT]
|
||||||
|
> You must configure the secret key before use this tool.
|
||||||
|
|
||||||
|
> [!NOTE]
|
||||||
|
> The PlaylistSaverHelper (this tool's Chrome extenstion. Used for transfer YouTube cookie to the main program) haven't listed from the Chrome Extenstion Store. Install via the normal way is impossible.
|
||||||
|
|
||||||
|
### Install Chrome extenstion
|
||||||
|
|
||||||
|
1. First, download the compressed extenstion `PlaylistSaverHelper.zip` from [release page](https://repo.weispace.net/wei/PlaylistSaver/releases) (or [GitHub mirror](https://repo.weispace.net/wei/PlaylistSaver/releases))
|
||||||
|

|
||||||
|
|
||||||
|
2. Unzip the compressed extenstion with any decompress tool.
|
||||||
|

|
||||||
|
|
||||||
|
3. Open Chrome and go to `chrome://extensions/`, then click `Open unpacked` button.
|
||||||
|

|
||||||
|
|
||||||
|
4. Enable the extension.
|
||||||
|

|
||||||
|
|
||||||
|
### Configure secret key
|
||||||
|
|
||||||
|
1. Open PlaylistSaver, then click `Helper Secret Key`
|
||||||
|

|
||||||
|
|
||||||
|
2. Copy secret key.
|
||||||
|

|
||||||
|
|
||||||
|
3. Go to YouTube, press `Alt+Z` or click PlaylistSaver icon (on extension list) and click `option` to open helper page.
|
||||||
|

|
||||||
|
|
||||||
|
4. Paste the key to the helper page. Then press `Save key`
|
||||||
|

|
||||||
|
|||||||
|
After Width: | Height: | Size: 36 KiB |
|
After Width: | Height: | Size: 132 KiB |
|
After Width: | Height: | Size: 40 KiB |
|
After Width: | Height: | Size: 102 KiB |
|
After Width: | Height: | Size: 140 KiB |
|
After Width: | Height: | Size: 119 KiB |
|
After Width: | Height: | Size: 55 KiB |
|
After Width: | Height: | Size: 45 KiB |
|
After Width: | Height: | Size: 86 KiB |
|
After Width: | Height: | Size: 281 KiB |