Thread: youtube-dl
View Single Post
  #1  
Old 06-12-2015, 04:00 AM
nullacht nullacht is offline
Senior Member
 
Join Date: Jan 2010
Posts: 230
nullacht will become famous soon enoughnullacht will become famous soon enough
Default

youtube-dl


youtube-dl

A command line tool to download videos from various websites.

https://rg3.github.io/youtube-dl

https://github.com/rg3/youtube-dl

Command line usage:

Code:
youtube-dl [options] [url]
Windows binaries:

Code:
https://yt-dl.org/latest/youtube-dl.exe
Graphical user interface:

Code:
https://github.com/MrS0m30n3/youtube-dl-gui
Supported websites:

Code:
https://rg3.github.io/youtube-dl/supportedsites.html
Code:
https://github.com/rg3/youtube-dl/tree/master/youtube_dl/extractor
If something doesn't work, submit a bug report to the issue tracker on GitHub.

Code:
https://github.com/rg3/youtube-dl/issues
In combination with mpv it becomes a streaming media player.

http://mpv.io

Code:
http://mpv.io/manual/master/#options-ytdl
Code:
--ytdl
Quote:
Enable the youtube-dl hook-script. It will look at the input URL, and will play the video located on the website. This works with many streaming sites, not just the one that the script is named after. This requires a recent version of youtube-dl to be installed on the system.
Some example command lines:

Code:
youtube-dl -F "http://www.rte.ie/player/99/show/10431178/"
[Rte] 10431178: Downloading webpage
[Rte] 10431178: Downloading JSON metadata
[Rte] 10431178: Downloading f4m manifest
[info] Available formats for 10431178:
format code  extension  resolution note
512          mp4        unknown
1024         mp4        unknown
2048         mp4        unknown    (best)
Code:
youtube-dl -g "http://www.rte.ie/player/99/show/10431178/"
http://vod.hds.rasset.ie/hds-vod/2015/0613/20150613_rteone-onenews_cl10431178_10431179_260_/20150613_rteone-onenews_cl10431178_10431179_260__2048k.mp4.f4m
Code:
youtube-dl "http://www.rte.ie/player/99/show/10431178/"
[Rte] 10431178: Downloading webpage
[Rte] 10431178: Downloading JSON metadata
[Rte] 10431178: Downloading f4m manifest
[download] Downloading f4m manifest
[download] Destination: Watch One News  online-10431178.mp4
Code:
youtube-dl -F "http://www.bbc.co.uk/iplayer/episode/b05yy8yt/the-interceptor-episode-1"
[bbc.co.uk] b05yy8yt: Downloading video page
[bbc.co.uk] b05yy8xt: Downloading media selection XML
[info] Available formats for b05yy8xt:
format code                                extension  resolution note
iplayer_streaming_h264_flv_lo_akamai       flv        640x360    h264@ 480k, 210.71MiB
iplayer_streaming_h264_flv_lo_limelight    flv        640x360    h264@ 480k, 210.71MiB
iplayer_streaming_h264_flv_akamai          flv        640x360    h264@ 796k, 329.18MiB
iplayer_streaming_h264_flv_limelight       flv        640x360    h264@ 796k, 329.18MiB
iplayer_streaming_h264_flv_high_akamai     flv        832x468    h264@1500k, 616.18MiB
iplayer_streaming_h264_flv_high_limelight  flv        832x468    h264@1500k, 616.18MiB
pc_streaming_hd_akamai                     flv        1280x720   h264@2800k, 983.54MiB
pc_streaming_hd_level3                     flv        1280x720   h264@2800k, 983.54MiB (best)
Code:
youtube-dl -g "http://www.bbc.co.uk/iplayer/episode/b05yy8yt/the-interceptor-episode-1"
rtmp://iplayertokfs.fplive.net/iplayertok?token=c3RhcnRfdGltZT0yMDE1MDYxMzE2MDYzNyZlbmRfdGltZT0yMDE1MDYxMzIwMDYzNyZkaWdlc3Q9ODQ0MzQyYzkzYzAxOWM2MzU3YmRkYzhmZTNkMWFhMTI=mp4:3200kbps/modav/bUnknown-e6bc662f-5702-43de-8f6f-2636ae290c80_b05yy8xt_1433281734578
Code:
youtube-dl "http://www.bbc.co.uk/iplayer/episode/b05yy8yt/the-interceptor-episode-1"
[bbc.co.uk] b05yy8yt: Downloading video page
[bbc.co.uk] b05yy8xt: Downloading media selection XML
[download] Destination: The Interceptor, Episode 1-b05yy8xt.flv
Code:
-F | --list-formats               List all available formats
-g | --get-url                    Simulate, quiet but print URL

Last edited by nullacht : 06-13-2015 at 12:35 PM.
Reply With Quote