Archive

Posts Tagged ‘youtube’

download with youtube-dl

June 20, 2017 Leave a comment

For downloading a YouTube playlist, or for downloading all the videos of a YouTube user, I use this script:

URL="https://..."    # youtube user / playlist

youtube-dl --ignore-errors --download-archive downloaded.txt -f 22 "$URL"

The videos will be saved in .mp4 format. You can stop the script and re-run it later. The already saved videos are stored in downloaded.txt and they will be skipped if you re-run the script.

Advertisements
Categories: bash Tags: ,

loop a youtube video

January 28, 2017 Leave a comment

Problem
You find an awesome music video and you want to play it in an infinite loop.

Solution
You need to re-format the youtube URL a bit. Sample:

Input: https://www.youtube.com/watch?v=VIDEO_ID

Output: http://www.youtube.com/v/VIDEO_ID?version=3&loop=1&playlist=VIDEO_ID

Concrete example: input, output.

Tip from here.

YouTube video to text

September 28, 2015 Leave a comment

turn off annoying YouTube annotations

August 9, 2015 Leave a comment

Problem
YouTube annotations are driving you crazy.

Solution
Turn ’em off for good. Follow these simple steps: http://www.businessinsider.com/turn-off-youtube-annotations-for-good-2014-8 .

Categories: tips Tags: , ,

a terminal-based YouTube player

November 2, 2014 Leave a comment

mps-youtube is a terminal-based YouTube player and downloader. If you use YouTube a lot for listening music, then you must give it a try.

Screenshot:

Categories: python Tags: , , ,

Play Youtube videos with VLC

November 27, 2012 1 comment

Did you know that VLC media player can play Youtube videos? Neither did I. Try this:

vlc http://www.youtube.com/watch?v=Dmn4gtZWVzw

Does Flash break all the time? Use VLC :)

Tip from here.

Categories: Uncategorized Tags: , ,

Youtube audio player

November 20, 2012 Leave a comment

At http://www.labnol.org/internet/youtube-audio-player/26740/ I found a nice trick to embed just a part of the Youtube Flash player, thus the player looks like an audio player. All you need is a little CSS trick:

Categories: firefox, google, html Tags: , , ,