User talk:Vxbinaca

From Archiveteam
Jump to navigation Jump to search

How I archive YouTube videos

The system I currently have down is this: Go through my subs and set it to notify me via email of new uploads. This makes a target channel easier to maintain it's item on

First we gotta set up YouTube DL. We're using Linux/Mac for this, and sourcing the youtube-dl binary from the python repository Pip.

Setting up Youtube-dl

Do not install youtube-dl from Ubuntu/Apple repository. It's probably stale, and may lack key features we need, or buggy and not updated by the maintainer.

We'll use the python Pip repository instead. We'll also be assuming you're using Ubuntu.

sudo apt-get install python-pip atomicparsley
sudo -H pip install --upgrade pip youtube_dl

Using a config

Youtube-dl allows you to use a config to set default behavior. This is useful instead of aliasing in .bashrc because pipes or screen instances or trickle do not recognize aliases when running a command prepended with screen or trickle.

echo "t --console-title --no-overwrite --call-home --title --continue --write-info-json --write-description --write-thumbnail --write-annotations" > ~/.config/youtube-dl.conf

Upgrading Youtube-dl

sudo -H pip install --upgrade youtube_dl

The upgrade schedule for the script is bi-weekly, so try to check for updates once every week or so, or daily if you're really thirsting for a fix to a problem you've reported. I've seen examples of multiple updates being pushed in a week.

Bandwidth management

Use the -r flag to limit bandwidth consumption. Example:

$ youtube-dl -r 100K [URL]

To rip a video or channel at 100kbps.