Difference between revisions of "User:Vxbinaca"

From Archiveteam
Jump to navigation Jump to search
Line 83: Line 83:
=YTPMV channels I am responbile for=
=YTPMV channels I am responbile for=


https://www.youtube.com/channel/UCvZZHwxq9uj77wbGlO7Rczw/videos  
https://www.youtube.com/channel/UCvZZHwxq9uj77wbGlO7Rczw/videos
https://www.youtube.com/channel/UCpCTOtPvRNUBq1c5PJsStPA  
https://www.youtube.com/channel/UCpCTOtPvRNUBq1c5PJsStPA
https://www.youtube.com/user/koronx3  
https://www.youtube.com/user/koronx3
https://www.youtube.com/channel/UCQXBpkU8A0pn71fPJyhgP1Q
https://www.youtube.com/channel/UCQXBpkU8A0pn71fPJyhgP1Q
https://www.youtube.com/user/NamaCream777/videos
https://www.youtube.com/user/NamaCream777/videos
Line 102: Line 102:
https://www.youtube.com/channel/UC_nuIy26G_UK5NwS3jV_WUA
https://www.youtube.com/channel/UC_nuIy26G_UK5NwS3jV_WUA
https://www.youtube.com/channel/UCbxcvmmFw0C8pwxlBxCuz7Q
https://www.youtube.com/channel/UCbxcvmmFw0C8pwxlBxCuz7Q
https://www.youtube.com/channel/UCKYsgyAfp0fgYzNAEhm5Hhw
https://www.youtube.com/channel/UCKYsgyAfp0fgYzNAEhm5Hhw
https://www.youtube.com/channel/UCGecL_FNZfmUL4EJUnpdCCA
https://www.youtube.com/channel/UCGecL_FNZfmUL4EJUnpdCCA
https://www.youtube.com/channel/UCwge5tFhVS0J33FC7P8RF-g
https://www.youtube.com/channel/UCwge5tFhVS0J33FC7P8RF-g
https://www.youtube.com/channel/UC8G33AC5XICbav-9RAUUw0w
https://www.youtube.com/channel/UC8G33AC5XICbav-9RAUUw0w
https://www.youtube.com/channel/UCeCnfHT1hOtExh0NqS2yMHA
https://www.youtube.com/channel/UCeCnfHT1hOtExh0NqS2yMHA
https://www.youtube.com/channel/UCGW4_g81RJuMB27vaJLPlZQ
https://www.youtube.com/channel/UCGW4_g81RJuMB27vaJLPlZQ

Revision as of 21:37, 13 August 2016

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 archive.org.

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 ffmpeg h.264 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 prepend with screen or trickle.

echo "--download-archive ~/.ytdlarchive --retries 100 --no-overwrites --call-home --continue --write-info-json --write-description --write-thumbnail --write-annotations --all-subs --sub-format srt --convert-subs srt --write-sub --add-metadata -f bestvideo+bestaudio/best --merge-output-format 'mkv' --prefer-ffmpeg --embed-thumbnail" > ~/.config/youtube-dl/config

To temporarily ignore these changes use --ignore-config. To revert back to normal, rm ~/.config/youtube-dl/config.

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.


Ripping private Google Drive videos

Okay so you got a video shared with you and the owner doesn't alllow downloading. while this method doesn't get a 1:1 copy of the file it's still quite good and much better than nothing or screen capturing the file.

This involves just just a few steps. You'll need:

This downloads the actual video.

We need to get your Google cookie. We need this because you need to be logged in to see the video, or more accurately youtube-dl needs to be logged in to see the page so it can extract the video.

Ready?

Get the link

Go to your email and find the share notification email. This is the easiest method of getting the link we need to feed into youtube-dl.

It should look something like this:

https://drive.google.com/file/d/0B_vK3fbXlLEFM19MQl9nT3dBVEE/view

Put that somewhere you can get back to because you'll need it later.

Getting your Google drive cookie

You need to be signed in so Youtube-dl can see the video to extract it. In order for Youtube-dl to sign in we need to use your cookie. With Cookies.txt installed, open a new tab and head to drive.google.com. A new button appeared when you installed cookies.txt. Click this button and it will give you the contents of your cookie. Copy and paste this into a file on your desktop.

I'm calling mine drive-cookie.txt.

Ripping the video

Put youtube-dl on your desktop along with the coolie text file. open cmd or your command line program, navigate to your desktop. Remember that video link sent in the email when the item was shared with you? We need that too.

Run:

youtube-dl.exe --continue --cookies drive-cookie.txt -f best https://drive.google.com/file/d/0B_vK3fbXlLEFM19MQl9nT3dBVEE/view

This will use the cookie to sign in to your google account, and download that video.


YTPMV channels I am responbile for

https://www.youtube.com/channel/UCvZZHwxq9uj77wbGlO7Rczw/videos https://www.youtube.com/channel/UCpCTOtPvRNUBq1c5PJsStPA https://www.youtube.com/user/koronx3 https://www.youtube.com/channel/UCQXBpkU8A0pn71fPJyhgP1Q https://www.youtube.com/user/NamaCream777/videos https://www.youtube.com/user/AIuminum/ https://www.youtube.com/user/ImpossibleCarl69/videos https://www.youtube.com/user/plrusek/videos https://www.youtube.com/user/DooLovesAniki https://www.youtube.com/playlist?list=PL-kAE-3kF5o0m3cz6ZHWntNR6HYZSpIaq https://www.youtube.com/channel/UCpie9Kij6EuF3OhsQBhymWg https://www.youtube.com/playlist?list=PLYOSiyKLIdnmJL3Sm1Qu6wLjat7cYxo6_ https://www.youtube.com/channel/UCafRFwStpUhQwIT_I__h0zQ https://www.youtube.com/channel/UC_Myky_uYdlZCrEMEdRaphw https://www.youtube.com/channel/UCpWYzyfnuPYNOA_uOMYn0YQ https://www.youtube.com/watch?v=Byr8cZnR9Mw https://www.youtube.com/channel/UCZUjaZF8z2gP2e7PCM7GJ4g https://www.youtube.com/channel/UC_nuIy26G_UK5NwS3jV_WUA https://www.youtube.com/channel/UCbxcvmmFw0C8pwxlBxCuz7Q https://www.youtube.com/channel/UCKYsgyAfp0fgYzNAEhm5Hhw https://www.youtube.com/channel/UCGecL_FNZfmUL4EJUnpdCCA https://www.youtube.com/channel/UCwge5tFhVS0J33FC7P8RF-g https://www.youtube.com/channel/UC8G33AC5XICbav-9RAUUw0w https://www.youtube.com/channel/UCeCnfHT1hOtExh0NqS2yMHA https://www.youtube.com/channel/UCGW4_g81RJuMB27vaJLPlZQ https://www.youtube.com/channel/UCUS1y5SVc0a9sfVqMPU4FsA https://www.youtube.com/channel/UCIsRUGyDjrse3bB29ZBbowQ https://www.youtube.com/channel/UClQXWA7QgpUdPTQpqIQGwQg https://www.youtube.com/channel/UCr0twRvFP3FZ-oUVdAIUZpw https://www.youtube.com/channel/UC3bDRVah9bTLzy3sDDhW-Yw https://www.youtube.com/user/thepowerofdiarrhea https://www.youtube.com/channel/UCY6ejtGi9OlBW3mX3qzKThw https://www.youtube.com/user/GLaDOS996 https://www.youtube.com/channel/UCzz1z7yCXVD7yHH8bah30CQ https://www.youtube.com/channel/UCaAYS3n0BrmlXi4HgglBURg/videos https://www.youtube.com/user/LolZombiez/videos https://www.youtube.com/channel/UCXa2CG12n2hr5PFWJY_9A2g/videos https://www.youtube.com/channel/UCY6ejtGi9OlBW3mX3qzKThw/videos https://www.youtube.com/channel/UC5dj1pFnPO3gWy-KBYWtUPQ/videos https://www.youtube.com/channel/UCrBlt_ybdqlUOqwhRJGh4ww https://www.youtube.com/channel/UCGW4_g81RJuMB27vaJLPlZQ https://www.youtube.com/channel/UCvtvQxfHF8y2sripRL83OPA https://www.youtube.com/user/rozels100 https://www.youtube.com/channel/UCnS2IQMd9F7ItAXYA7X9irQ https://www.youtube.com/user/mirrorimage98 https://www.youtube.com/user/UltraRemixer/videos https://www.youtube.com/channel/UCmiUMQI7NJ2gpt1OEA6h4Yg/videos https://www.youtube.com/channel/UCaFyyyWdXtWuc-PTBB4W2UQ https://www.youtube.com/channel/UC4JEl2dMSkFUCXnYvh1lIzw https://www.youtube.com/playlist?list=PLC07CC9B1C8DD7987 https://www.youtube.com/user/frannintendo64/videos https://www.youtube.com/user/omniputance https://www.youtube.com/channel/UCgjFos1M7BbJFEYAxxLENOg https://www.youtube.com/user/MrHeavyfaceUK/videos https://www.youtube.com/user/LifeWaste1618/videos https://www.youtube.com/user/TheJinxuiable/videos https://www.youtube.com/channel/UCfw3FZ0FZgF5326FBZfFtPg https://www.youtube.com/user/TheFirippu/videos https://www.youtube.com/channel/UCFPYD1vzgKs-7DmozP3v3-A https://www.youtube.com/channel/UCuYdLPbYq0070zk6mantnYQ http://www.youtube.com/soulstrike2205 http://www.youtube.com/xlethxleth http://www.youtube.com/thehamarejun https://www.youtube.com/user/soulstrike2205/videos https://www.youtube.com/channel/UC_FbqXQxS3FBMdlzW4oICNQ https://www.youtube.com/channel/UC5dj1pFnPO3gWy-KBYWtUPQ/videos https://www.youtube.com/playlist?list=PLhBMQIk9Z4Y8-UbTMz-3BNYuCbAehTr0L https://www.youtube.com/channel/UCoqCyc91UnN363zodoHMJ6g/videos http://www.youtube.com/user/KinkyAlts