Skip to content

Simple PHP wrapper for youtube-dl and aria2c running in daemon mode. Useful for low speed connections if downloaded files have expiration date. This tool will generate download link using youtube-dl only if there is free slot to downlaod in aria2c.

License

Notifications You must be signed in to change notification settings

michal-repo/php_ytd_aria2c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

php_ytd_aria2c

Simple PHP wrapper for youtube-dl/yt-dlp and aria2c running in daemon mode. Useful for low speed connections if files have expiration date after download link is generated. This tool will generate download link using youtube-dl/yt-dlp only if there is free slot in aria2c.

THIS APP IS NOT GOING TO WORK WITH YOUTUBE. Youtube is using multiple files (separate audio and video), Aria2c have no option to merge such sources. You need to use command line youtube-dl/yt-dlp to download and merge yt videos. There are tons of other pages that you can still download from.

cron

Set-up cron job to process links from internal queue. */5 * * * * curl -X POST -d 'processOneFromInternalQueue=yes' -d 'uselockfile=yes' http://server.home/php_ytd_aria2c/

app update

New update changes DB structure, remove old db file before using new version.

Set DB directory path in config file.

About

Simple PHP wrapper for youtube-dl and aria2c running in daemon mode. Useful for low speed connections if downloaded files have expiration date. This tool will generate download link using youtube-dl only if there is free slot to downlaod in aria2c.

Resources

License

Stars

Watchers

Forks

Languages