A script to automate the searching part of youtube-dl
pip install newget==0.0.8
Preview and download YouTube videos from channels that you have "subscribed" to. A script to automate the searching part of YouTube-dl.
Check your python version with python --version
if its python 2 then use
sudo pip3 install newget --upgrade
If its python 3 you can just use
sudo pip install newget --upgrade
This will download and update it if you already have it.
Otherwise I'd recommend downloading the script from the sources folder and running __main__.py
.
newget
Will launch the app if it was installed with pip.
Then iterate through the feed links in feeds.txt and tries printing them.
add FEED_URL
Adds the URL of what feed you gave it and restarts to try and pull it.
However this is designed around YouTube. So if you throw any YouTube channel link at it will parse it and add the feed.
commands
help
?
All three will display the commands. When you reload the commands disappear. However delete does not work in old:
delete #
Will ask for a confirmation to delete the feed number you selected.
get FEED_NUMBER/s
This uses YouTube-dl to download whatever feed link you pointed it at.
Works with comma separated values ex 1,7,14
and will iterate and download them all
mpv FEED_NUMBER/s
This will give the media link to mpv to play. Works very well except it plays at highest resolution and doesn't support multi-link playlists.
vlc FEED_NUMBER/s
will try to stream the feed to vlc (However this is buggy with vlc. Expect errors).
Also works with comma separated values ex 1,7,14
Will add them to a vlc playlist
When VLC closes it will reload the feeds
stream FEED_NUMBER/s
This will use the YouTube-dl -o -
pipe to vlc. Objectively less buggy than straight vlc streaming. However this does not support playlists. Breaks the pipe every time.
reload
r
Redraws the screen and tries to pull the feeds in feeds.txt
Will also work in old:
exit
e
Closes the current menu, if in new:
ends the program. If in old:
it returns you to new:
getall FEED_NUMBER
Downloads all videos on a channel. Like the WHOLE thing. ALL videos. (You've been warned) Also it is YouTube specific as of now.
If there are any feed related issues a lot of problems can be solved by editing the feeds.txt
file directly. This is also where it gets the URLs to pull feeds from.
I've tried to keep windows users in mind. So most of the commands work on windows as well. However since this is developed on and around Linux there will be issues I don't run into. See the issues page to report them.
Also to note, I use a lot of ANSI colors in the terminal to makes things easier to see. On windows, powershell will accept these properly if you disable legacy console in the settings.
You can submit issues here on the Gitlab page.
As far as known bugs. YouTube has this issue between 5-6 Eastern time it will limit the feed reading. It won't actually error out and if left to load it will eventually pull them.
If you would like to contribute or suggest any improvements to the project, please submit a merge request or open a issue with a feature request.