newget 0.0.8
A script to automate the searching part of youtube-dl
Keywords: newget,rss,youtube,youtube_dl

Preview and download YouTube videos from channels that you have "subscribed" to. A script to automate the searching part of youtube-dl.


- [Installation](https://gitlab.com/patrickett/newget#installation)
- [Usage](https://gitlab.com/patrickett/newget#usage)
- [Bugs](https://gitlab.com/patrickett/newget#bugs)
- [Contributing](https://gitlab.com/patrickett/newget#contributing)
- [Plans](https://gitlab.com/patrickett/newget#todo)
- [License](https://gitlab.com/patrickett/newget#license)


![Picture](https://gitlab.com/patrickett/newget/raw/master/pictures/newget.png)

# Installation

    sudo pip3 install newget --upgrade

is the easiest way to install if you are on a ~nix system.

Otherwise I'd recommend downloading the script from the src folder and running it straight from the terminal.



# Usage

    newget

Will launch the app if it was installed with pip.

Then iterate through the feed links in feeds.txt and tries to print them

    add FEED_URL

Adds the url of what feed you gave it and restarts to 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:```

    deleteprev

will delete the previous line written to feeds.txt and reload the file.

    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


    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 everytime.


    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)

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.
# Windows

I've tried to keep windows users in mind. So most of the commands work on windows aswell. However strait command line VLC does not.

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](https://consumingtech.com/enable-disable-legacy-console-for-command-prompt-and-powershell-in-windows-10/) in the settings.
# Bugs

You can submit issues here on the [Gitlab page](https://gitlab.com/patrickett/newget/issues).

As far as known bugs. Youtube has this issue between 5-6 Eastern time it will limit the feed reading. Not error but will just be extra slow. If left it will eventually pull them.

# Contributing

If you would like to contribute or suggest any improvements to the project, please submit a merge request.

# Todo


1. Add more youtube-dl control (Extra description files etc.)
2. Allow for easier bulk downloading
3. Remove items that have been there for more than 2 weeks(hard maybe)
4. Add titles to the downloaded list for easier identifying (Could be bad if i want to check this for old gets)
5. Have a separate file for select feeds to be automatically downloaded every time a new feed is available
6. See about adding support for other sites ex(vimeo/twitch/souncloud/pornhub)


# License

[GNU General Public License, version 3 (GPLv3)](https://www.gnu.org/licenses/gpl.txt)