Update README.md
Added bookmarklet code, very handy if using media-roller from a PC
This commit is contained in:
parent
40a0bd0aaa
commit
470e9da8e4
1 changed files with 6 additions and 0 deletions
|
|
@ -29,6 +29,12 @@ To download a video directly, use the API endpoint:
|
||||||
/api/download?url=SOME_URL
|
/api/download?url=SOME_URL
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Create a bookmarklet, allowing one click downloads (From a PC):
|
||||||
|
|
||||||
|
```
|
||||||
|
javascript:(location.href="http://127.0.0.1:3000/fetch?url="+encodeURIComponent(location.href));
|
||||||
|
```
|
||||||
|
|
||||||
# Integrating with mobile
|
# Integrating with mobile
|
||||||
After you you have you server up, install this shortcut. Update the endpoint to your server address by editing the shortcut before running it.
|
After you you have you server up, install this shortcut. Update the endpoint to your server address by editing the shortcut before running it.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue