Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2026 Walavave

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE 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.
74 changes: 33 additions & 41 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,67 +1,59 @@
SoundPirate Chrome Extension
============

Google removed this extension from Chrome Web Store, asking for justifications for all of the permissions I use, and justification for their new single purpose policy. I'm working on it.
Chinese version: [README_zh.md](README_zh.md)

At this moment, I've submitted Sound Pirate to Microsoft Edge Addons(I personally switched to the new Edge browser). This is the URL: https://microsoftedge.microsoft.com/addons/detail/ipikaekeodlapkpkfblbcfkaiebpbkie
This repository is a maintained fork of the original SoundPirate project by Seeker Lee.

I will never do anything harmful with Sound Pirate. And I will never sell this extension to anyone else (I got quite a few emails asking me to sell it). And you guys can always use the source code to build you own Sound Pirate without installing from any store if you want.
This fork is focused on:
- adapting the extension to current Chrome extension requirements
- keeping the project loadable in modern Chrome
- removing dead or obsolete site integrations that no longer work

There is currently no Chrome Web Store version for this fork. Use the unpacked extension from the local `build/` directory.

### "Grabbing Your Favourite Sound Like a Pirate!"

1. Checkout your Chrome version is 24+
2. Download and install the extension, either through [Chrome WebStore](https://chrome.google.com/webstore/detail/声海盗/idleenniidjlnmnjkjmmnocnkmjibadd)( for Stable Version ) , or [Github](https://github.com/spiderPan/Sound-Pirate) ( for Dev version)
3. Go to online music website and enjoy the music.
4. Once you see the small icon show up on left bottom conner, that means Sound Pirate is ready to grab that music!
1. Build the extension locally.
2. Open `chrome://extensions/`.
3. Enable `Developer mode`.
4. Click `Load unpacked` and select the `build/` directory.
5. Open a supported site and play audio.
6. When the floating download icon appears in the lower corner, SoundPirate has captured a playable audio URL.

### Wanna put any comments or feedback?
Seeker Lee [@Github](https://github.com/seekerlee) or
Pan[@Github] (https://github.com/spiderPan), [@Facebook](https://www.facebook.com/banglanfeng.pan)

### Note
The following websites have been tested to support
[Douban FM](http://douban.fm/),[Douban Artists](http://music.douban.com/artists/),[Xiami](http://www.xiami.com/),[QQ music](http://y.qq.com/),[163 music](http://music.163.com/),[Kuwo](http://kuwo.cn)
Email: `walavave@gmail.com`

Issues: <https://github.com/walavave/SoundPirate/issues>

声海盗
============

### 声海盗-下载在线音乐的Chrome插件
支持[豆瓣FM](http://douban.fm/),[豆瓣音乐人](http://music.douban.com/artists/),[虾米](http://www.xiami.com/),[QQ音乐](http://y.qq.com/),[网易云音乐](http://music.163.com/),[酷我](http://kuwo.cn),[echo回声](http://www.app-echo.com)等.
### Note
This fork only keeps site integrations that still exist in the current codebase.

### 使用方法:
1. 升级你的chrome或其他chrome核浏览器(已知支持枫树浏览器,360急速浏览器最新版),已知支持chrome内核24+版本
2. 安装此插件([Chrome WebStore链接](https://chrome.google.com/webstore/detail/声海盗/idleenniidjlnmnjkjmmnocnkmjibadd))
3. 打开在线音乐网页,播放音乐
4. 音乐成功播放后,左下角/右下角会出现下载链接,点击下载
Explicit site adapters currently included:
- [QQ Music](https://y.qq.com/)
- [NetEase Music](https://music.163.com/)
- [Kuwo](https://kuwo.cn)
- [Kugou](https://kugou.com)
- [Migu music](https://music.migu.cn/)
- [Musicbed](https://musicbed.com/)
- [Taihe](https://play.taihe.com/)

报告bug,提建议请建 issue
There is also a generic direct-audio capture path for pages that still expose plain `.mp3`, `.m4a`, `.aac`, or `.ogg` URLs.

How to develop or build your own SoundPirate
============
0. make sure you have nodejs installed
1. clone this repo, and cd inside: `git clone git@github.com:seekerlee/SoundPirate.git`; `cd SoundPirate`
0. make sure you have Node.js installed
1. clone this repo, and cd inside: `git clone git@github.com:walavave/SoundPirate.git`; `cd SoundPirate`
2. run `npm install`
3. to develop: `npm run start`
4. to build: `npm run build`
5. remove/disable SoundPirate if you already installed from Chrome Webstore
6. open url chrome://extensions/ in chrome, turn on 'Developer mode' and click 'load unpacked' button and select the build folder.
7. listen and test
5. open `chrome://extensions/` in Chrome
6. turn on `Developer mode`
7. click `Load unpacked` and select the `build/` folder
8. listen and test

src/js/service/qq.js is a good example to start.

TODO:
1. support m3u8 if possible
2. add options

New in 2.0:
1. Rewrite the code. It should be easier to understand and maintain.
2. Add more service should be easier.
3. Fixed some old bugs, performance issues.
4. Remove a few dead services

credit to https://github.com/samuelsimoes/chrome-extension-webpack-boilerplate

LICENCE
============
MIT
34 changes: 34 additions & 0 deletions README_zh.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
声海盗
============

### 声海盗-下载在线音乐的Chrome插件
这是从 Seeker Lee 原版 SoundPirate fork 出来的维护分支。

这个 fork 主要做了几件事:
- 适配最新的 Chrome 扩展要求
- 让插件可以继续在现代 Chrome 中以开发者模式加载
- 清理一批已经失效或不再维护的旧站点适配

### 使用方法:
1. 安装 Node.js。
2. 克隆仓库并进入目录。
3. 运行 `npm install`。
4. 运行 `npm run build`。
5. 打开 `chrome://extensions/`。
6. 打开“开发者模式”。
7. 选择“加载已解压的扩展程序”,加载 `build/` 目录。
8. 打开支持的网站并播放音频。
9. 左下角或右下角出现下载图标时,说明插件已经捕获到可下载链接。

反馈方式:
- 邮箱:`walavave@gmail.com`
- Issues:<https://github.com/walavave/SoundPirate/issues>

当前代码里保留的站点适配:
- [QQ音乐](https://y.qq.com/)
- [网易云音乐](https://music.163.com/)
- [酷我](https://kuwo.cn)
- [酷狗](https://kugou.com)
- [咪咕音乐](https://music.migu.cn/)
- [Musicbed](https://musicbed.com/)
- [千千音乐](https://play.taihe.com/)
Loading