Closed 123chuck123 closed 4 years ago
Just extend your "termux-url-opener" with another option for gallery-dl and call it with the right command line options. For example -d
lets you set the general directory were files are downloaded into. (use --help
for a list of all cmdline options)
For example for this "termux-url-opener" (https://gist.github.com/LordH3lmchen/dc35e8df3dc41d126683f18fe44ebe17) you can add the following under the youtube-dl section in line 42:
g)
gallery-dl -d "/storage/emulated/0/Pictures" $url
;;
First of all great tool. I want to use gallery-dl with termux on my android device. I already use youtube-dl with "termux-url-opener". Now I would like to combine gallery-dl and youtube-dl. Is this even possible? If yes could somebody help me with that please? Id like termux to ask me: 1 video 2 image 3 audio.
Right now I have termux asking me if I wanted to download the video or the audio file. I would like gallery-dl to use save it like this. -o ~/storage/downloads/Images%(extractor_key)s/%(title)s-%(id)s.%(ext)s Thanks.