I've recently made some changes to endtube.sh in order for it to download links presented in the command line.
https://github.com/endwall2/endware/raw/master/endtube.sh
$ endtube https://videosite.com/link
$ endtube --url https://videosite.com/link
$ endtube --list videolist.txt
$ endtube --uarand --list newslist.txt
$ endtube --version
$ endtube --help
I've modified the script so that you can add youtube-dl options before the url for a url download without the --url flag or after the --url flag,
$ endtube --url http:/videosite --option --option
$ endtube --list list.txt --option --option
So it's essentially fully functional youtube-dl with auto headers and user-agent with an option for random user agents --uarand. Let me know if it has any issues. Thanks.