PDA

View Full Version : BETA Plugin: Video downloader ported to Javelin



BadIntentions
07-03-2011, 07:24 PM
http://depositfiles.com/files/2lg7al7r7

I am hoping to add a web interface soon... But here is how it works in general...


[root@s4]# /APP/YOUTUBE/bin/youtube-dl -t http://www.youtube.com/watch?v=ak5LY6uiRu0
[youtube] Setting language
[youtube] ak5LY6uiRu0: Downloading video webpage
[youtube] ak5LY6uiRu0: Downloading video info webpage
[youtube] ak5LY6uiRu0: Extracting video information
[download] Destination: Javelin_S4_Streaming_HD-ak5LY6uiRu0.mp4
[download] 100.0% of 5.88M at 1.46M/s ETA 00:00
[root@s4]# ls -l
-rw-r--r-- 1 root root 6169348 May 29 13:09 Javelin_S4_Streaming_HD-ak5LY6uiRu0.mp4
[root@s4]#



It has some advanced features that are currently partially working, or non working. Audio extraction will hopefully be working soon, but requires additional custom compilation.

As a side effect, after installing this plugin, you Javelin will have a fully functional Python install, 2.7.2 with common base modules.



[root@s4]# /APP/YOUTUBE/bin/youtube-dl --help
Usage: youtube-dl [options] url...

Options:
-h, --help print this help text and exit
-v, --version print program version and exit
-U, --update update this program to latest stable version
-i, --ignore-errors continue on download errors
-r LIMIT, --rate-limit=LIMIT
download rate limit (e.g. 50k or 44.6m)
-R RETRIES, --retries=RETRIES
number of retries (default is 10)
--playlist-start=NUMBER
playlist video to start at (default is 1)
--playlist-end=NUMBER
playlist video to end at (default is last)
--dump-user-agent display the current browser identification

Authentication Options:
-u USERNAME, --username=USERNAME
account username
-p PASSWORD, --password=PASSWORD
account password
-n, --netrc use .netrc authentication data

Video Format Options:
-f FORMAT, --format=FORMAT
video format code
--all-formats download all available video formats
--max-quality=FORMAT
highest quality format to download

Verbosity / Simulation Options:
-q, --quiet activates quiet mode
-s, --simulate do not download video
-g, --get-url simulate, quiet but print URL
-e, --get-title simulate, quiet but print title
--get-thumbnail simulate, quiet but print thumbnail URL
--get-description simulate, quiet but print video description
--get-filename simulate, quiet but print output filename
--no-progress do not print progress bar
--console-title display progress in console titlebar

Filesystem Options:
-t, --title use title in file name
-l, --literal use literal title in file name
-A, --auto-number number downloaded files starting from 00000
-o TEMPLATE, --output=TEMPLATE
output filename template
-a FILE, --batch-file=FILE
file containing URLs to download ('-' for stdin)
-w, --no-overwrites
do not overwrite files
-c, --continue resume partially downloaded files
--cookies=FILE file to dump cookie jar to
--no-part do not use .part files
--no-mtime do not use the Last-modified header to set the file
modification time

EXPANDED Options:
--extract-audio convert video files to audio-only files (requires
ffmpeg and ffprobe)
--audio-format=FORMAT
"best", "aac" or "mp3"; best by default

BadIntentions
07-03-2011, 11:33 PM
The plugin has been fixed to work with Metacafe (Only on videos that allow downloading):

[root@s4]# /APP/YOUTUBE/bin/youtube-dl -t http://www.metacafe.com/watch/6657265/klitschko_vs_haye_face_off/
[metacafe] Retrieving disclaimer
[metacafe] Confirming age
[metacafe] 6657265: Downloading webpage
[metacafe] 6657265: Extracting information
[download] Destination: klitschko_vs_haye_face_off-6657265.mp4
[download] 100.0% of 18.21M at 1.94M/s ETA 00:00


So, right now Youtube and Metacafe are supported. It has a generic 'try it and see what happens' module as well.

hifox
03-24-2012, 11:06 PM
Can you upload this plugin again?

Thanks.