This is an Alfred Workflow which will do these things autoly:
- parse the baiduyun share link with password
- open the parsed link in a new browser (controlled by puppeteer)
- fill it with the parsed password and redirect to download page
- after u click the download button, the browser will be closed
- Ctrl+Space, then enter
pan <baiduyunLink>
- click download link, download will start and the newly created chrome page will be closed autoly
- Have Alfred PowerPack, latest Chrome, Node and 百度网盘 installed
- Download the BaiduPan.alfredworkflow
- Double click it to add it to Alfred Workflow
- Ctrl+Space to invoke Alfred, and enter>
pan <baiduyunLink>
e.g.pan 链接: https://pan.baidu.com/s/1ZFT_AAEAEArG0O22hfKUYQ 提取码: 6ytc 复制这段内容后打开百度网盘手机App,操作更方便哦
- hit enter, then it'll open a new chrome window and fill the password field.
- During first time usage, you have to log in first
- click download button, then 百度网盘 will pop up, and the chrome page will be closed autoly.
git clone https://github.com/nendonerd/baiduyunHelper.git
cd baiduyunHelper/
yarn install