13 Commits
Author SHA1 Message Date
wei cdb628e713 Upload tutorial images. 2026-08-25 20:29:07 +08:00
wei 19e1f39b8f Update README.md 2026-08-25 12:24:53 +00:00
wei ddd6d0a3a4 Update README.md 2026-08-25 12:18:29 +00:00
wei 13db67af59 Upload tutorial images. 2026-08-25 20:16:46 +08:00
wei 0652bfcbc1 Merge remote-tracking branch 'origin/main' 2026-08-25 20:14:05 +08:00
wei 65552a162d Upload tutorial images. 2026-08-25 20:13:22 +08:00
wei 0700247265 Update README.md 2026-08-25 12:09:10 +00:00
wei 11a7c8b661 Upload tutorial images. 2026-08-25 20:05:44 +08:00
wei 1fce3b5dca Upload tutorial images. 2026-08-25 20:03:29 +08:00
wei 46173e02e4 Upload tutorial images. 2026-08-25 19:44:28 +08:00
wei ac991012e0 Update README.md 2026-08-25 11:38:29 +00:00
wei 60c8fab21f Upload tutorial images. 2026-08-25 19:28:22 +08:00
wei dda5d53878 Update README.md 2026-08-25 11:15:14 +00:00
12 changed files with 69 additions and 4 deletions
+69 -4
View File
@@ -1,7 +1,15 @@
<img alt="Prism Launcher" src="/assets/icon.png">
# PlaylistSaver # PlaylistSaver
A tool to save your YouTube playlist. A tool to save your YouTube playlist.
## Features
- Save the playlist from the logged-in YouTube account.
- Download YouTube video from playlist.
- Play the video that is inside the playlist using mpv.
## Run from source ## Run from source
Sync project and install dependencies. Sync project and install dependencies.
@@ -9,12 +17,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 +44,61 @@ 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. Is necessary for PlaylistSaver to fetch playlist as your YouTube account)
> [!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))
![Download extenstion](https://repo.weispace.net/wei/PlaylistSaver/raw/branch/main/repo_resources/download_extenstion.png)
2. Unzip the compressed extenstion with any decompress tool.
![decompress extenstion](https://repo.weispace.net/wei/PlaylistSaver/raw/branch/main/repo_resources/unzip_extenstion.png)
3. Open Chrome and go to `chrome://extensions/`, then click `Open unpacked` button.
![Open unpacked](https://repo.weispace.net/wei/PlaylistSaver/raw/branch/main/repo_resources/import_unpack.png)
4. Enable the extension.
![Enable extension](https://repo.weispace.net/wei/PlaylistSaver/raw/branch/main/repo_resources/enable_the_extenstion.png)
### Configure secret key
1. Open PlaylistSaver, then click `Helper Secret Key`
![Open tool](https://repo.weispace.net/wei/PlaylistSaver/src/branch/main/repo_resources/open_tool.png)
2. Copy secret key.
![Copy key](https://repo.weispace.net/wei/PlaylistSaver/raw/branch/main/repo_resources/copy_key.png)
3. Go to YouTube, press `Alt+Z` or click PlaylistSaver icon (on extension list) and click `option` to open helper page.
![Open Helper via option button](https://repo.weispace.net/wei/PlaylistSaver/raw/branch/main/repo_resources/open_helper_page.png)
4. Paste the key to the helper page. Then press `Save key`
![Paste the secret key to the helper page. And press "Save key"](https://repo.weispace.net/wei/PlaylistSaver/raw/branch/main/repo_resources/save_key.png)
### How to use
On any YouTube page, press `Alt+Y` to open PlaylistSaver. (If Chrome open helper page instead of open the tool. Ensure you have configure the secret key. If not, see section "Before Use: Configure secret key")
![Open playlistSaver](https://repo.weispace.net/wei/PlaylistSaver/raw/branch/main/repo_resources/open_playlistsaver.png)
Enjoy the tool!
![Tool Screenshot](https://repo.weispace.net/wei/PlaylistSaver/raw/branch/main/repo_resources/tool_screenshot.png)
Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 132 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 119 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 281 KiB