aria2 / aria2

aria2 is a lightweight multi-protocol & multi-source, cross platform download utility operated in command-line. It supports HTTP/HTTPS, FTP, SFTP, BitTorrent and Metalink.
https://aria2.github.io/
GNU General Public License v2.0
35.5k stars 3.59k forks source link

add original URI as argument to "on-download-complete=" ExternalScript Trigger #1679

Open infojoe opened 4 years ago

infojoe commented 4 years ago

It would be great if the original URI could be passed to an external script to be able to do a check for HLS / m3u8 files and if found, forward the original link to youtube-dl or ffmpeg.

fortinmike commented 4 years ago

I'm also desperately looking for this to unify all of my downloads in a single tool. aria2 does 95% of what I need but I haven't found a solution for HLS / m3u8 yet. Even the log files don't seem to contain the full URL for files added to aria2, so I don't have any workaround yet.