2021-09-21 08:31:51 +09:30
|
|
|
# gropple
|
2021-09-21 08:32:50 +09:30
|
|
|
|
2022-04-07 21:38:14 +09:30
|
|
|
A frontend to youtube-dl (or compatible forks, like yt-dlp) to download videos with a single click, straight from your web browser.
|
2021-09-22 11:45:48 +09:30
|
|
|
|
2021-09-22 23:15:02 +09:30
|
|
|

|
2021-09-22 23:01:19 +09:30
|
|
|
|
2021-09-21 08:32:50 +09:30
|
|
|
## Pre-requisites
|
|
|
|
|
2021-10-01 10:13:29 +09:30
|
|
|
* some familiarity with the command line
|
2021-09-21 18:10:52 +09:30
|
|
|
* youtube-dl (plus any of its required dependencies, like ffmpeg)
|
2021-10-01 10:13:29 +09:30
|
|
|
* golang compiler (only if you'd like to build from source)
|
2021-09-21 08:32:50 +09:30
|
|
|
|
|
|
|
## Build
|
|
|
|
|
2021-09-21 18:10:52 +09:30
|
|
|
go build
|
2021-09-21 08:32:50 +09:30
|
|
|
|
2021-09-21 19:57:36 +09:30
|
|
|
## Binaries
|
|
|
|
|
2023-03-15 05:00:56 +10:30
|
|
|
Binaries are available at <https://github.com/tardisx/gropple/releases>
|
2021-09-21 19:57:36 +09:30
|
|
|
|
2023-03-15 05:00:56 +10:30
|
|
|
Gropple will automatically check for available updates and prompt you to
|
|
|
|
upgrade.
|
2021-10-01 10:13:29 +09:30
|
|
|
|
2021-09-21 08:32:50 +09:30
|
|
|
## Running
|
|
|
|
|
2021-10-01 10:13:29 +09:30
|
|
|
./gropple
|
2021-09-21 18:10:52 +09:30
|
|
|
|
2021-10-01 10:13:29 +09:30
|
|
|
There are no command line arguments. All configuration is done via the web
|
|
|
|
interface. The address will be printed after startup:
|
2021-09-21 18:10:52 +09:30
|
|
|
|
2021-10-01 10:13:29 +09:30
|
|
|
2021/09/30 23:53:00 starting gropple v0.5.0 - https://github.com/tardisx/gropple
|
|
|
|
2021/09/30 23:53:00 go to http://localhost:6123 for details on installing the bookmarklet and to check status
|
2021-09-21 18:10:52 +09:30
|
|
|
|
|
|
|
## Using
|
|
|
|
|
2023-03-15 05:00:56 +10:30
|
|
|
Bring up `http://localhost:6283` (or your configured address) in your browser.
|
|
|
|
You should see a link to the bookmarklet at the top of the screen, and the list
|
|
|
|
of downloads (currently empty).
|
2021-09-21 19:57:36 +09:30
|
|
|
|
2023-03-15 05:00:56 +10:30
|
|
|
Drag the bookmarklet to your favourites bar, or otherwise bookmark it as you see
|
|
|
|
fit. Any kind of browser bookmark should work. The bookmarklet contains embedded
|
|
|
|
javascript to pass the URL of whatever page you are currently on back to
|
|
|
|
gropple.
|
2021-09-21 19:57:36 +09:30
|
|
|
|
2023-03-15 05:00:56 +10:30
|
|
|
Whenever you are on a page with a video you would like to download just click
|
|
|
|
the bookmarklet.
|
2021-09-21 19:57:36 +09:30
|
|
|
|
2023-03-15 05:00:56 +10:30
|
|
|
A popup window will appear. Choose a download profile and the download will
|
|
|
|
start. The status will be shown in the window, updating in real time.
|
2021-09-21 19:57:36 +09:30
|
|
|
|
2023-03-15 05:00:56 +10:30
|
|
|
You may close this window at any time without stopping the download, the status
|
2021-09-24 15:35:54 +09:30
|
|
|
of all downloads is available on the index page.
|
|
|
|
|
2021-10-01 10:13:29 +09:30
|
|
|
## Configuration
|
2021-09-24 15:35:54 +09:30
|
|
|
|
2023-03-15 05:00:56 +10:30
|
|
|
Click the "config" link on the index page to configure gropple. The default
|
|
|
|
options are fine if you are running on your local machine. If you are running it
|
|
|
|
remotely you will need to set the "server address" to ensure the bookmarklet has
|
|
|
|
the correct URL in it.
|
2021-09-24 15:35:54 +09:30
|
|
|
|
2021-10-01 10:13:29 +09:30
|
|
|
### Configuring Downloaders
|
2021-09-24 15:35:54 +09:30
|
|
|
|
2023-03-15 05:00:56 +10:30
|
|
|
Gropple's default configuration uses `yt-dlp` and has two profiles set up, one
|
|
|
|
for downloading video, the other for downloading audio (mp3).
|
2021-09-24 15:35:54 +09:30
|
|
|
|
2023-03-15 05:00:56 +10:30
|
|
|
Note that gropple does not include any downloaders, you have to install them
|
|
|
|
separately.
|
2021-09-24 15:35:54 +09:30
|
|
|
|
2023-03-15 05:00:56 +10:30
|
|
|
If you would like to use a youtube-dl compatible fork or change the options you
|
|
|
|
can do so on the right hand side. Create as many profiles as you wish, whenever
|
|
|
|
you start a download you can choose the appropriate profile.
|
2021-09-24 15:35:54 +09:30
|
|
|
|
2023-03-15 05:00:56 +10:30
|
|
|
Note that the command arguments must each be specified separately - see the
|
|
|
|
default configuration for an example.
|
2021-09-24 15:35:54 +09:30
|
|
|
|
2023-03-15 05:00:56 +10:30
|
|
|
While gropple will use your `PATH` to find the executable, you can also specify
|
|
|
|
a full path instead. Note that any tools that the downloader calls itself (for
|
|
|
|
instance, `ffmpeg`) will need to be available on your path.
|
2021-09-24 15:35:54 +09:30
|
|
|
|
2023-03-15 05:00:56 +10:30
|
|
|
### Alternate destinations
|
|
|
|
|
|
|
|
Gropple supports adding additional optional destinations. By default, all
|
|
|
|
downloads will be stored in the main download path specified in the config. You
|
|
|
|
can also add one or more destinations, and you can choose one of these
|
|
|
|
destinations when queueing a new download, or while it is still downloading from
|
|
|
|
the popup.
|
|
|
|
|
|
|
|
The file will be moved after downloading is complete.
|
2022-04-07 21:46:39 +09:30
|
|
|
|
2023-03-15 05:00:56 +10:30
|
|
|
## Portable mode
|
2022-04-07 21:46:39 +09:30
|
|
|
|
2023-03-15 05:00:56 +10:30
|
|
|
If you'd like to use gropple from a USB stick or similar, copy the config file
|
|
|
|
from its default location (shown when you start gropple) to the same location as
|
|
|
|
the binary, and rename it to `gropple.yml`.
|
2022-04-07 21:46:39 +09:30
|
|
|
|
2021-10-01 10:13:29 +09:30
|
|
|
## Problems
|
2021-09-24 15:35:54 +09:30
|
|
|
|
2023-03-15 05:00:56 +10:30
|
|
|
Many download problems are diagnosable via the log - check in the popup window
|
|
|
|
and scroll the log down to the bottom. The most common problem is that `yt-dlp`
|
|
|
|
cannot be found, or its dependency (like `ffmpeg`) cannot be found on your path.
|
2021-09-24 15:35:54 +09:30
|
|
|
|
2023-03-15 05:46:25 +10:30
|
|
|
Gropple only calls external tools like `yt-dlp` to do the downloading. If you
|
|
|
|
are having problems downloading from a site, make sure that `yt-dlp` is updated
|
|
|
|
to the latest version (`yd-dlp -U`).
|
|
|
|
|
2021-10-01 10:13:29 +09:30
|
|
|
For other problems, please file an issue on github.
|
2021-09-21 19:57:36 +09:30
|
|
|
|
|
|
|
## TODO
|
|
|
|
|
2023-03-15 05:00:56 +10:30
|
|
|
Many things. Please raise an issue after checking the [currently open
|
|
|
|
issues](https://github.com/tardisx/gropple/issues).
|