youtube-dl.git
12 years agoMerge git://github.com/dbb/youtube-dl
Philipp Hagemeister [Wed, 24 Aug 2011 21:34:09 +0000 (23:34 +0200)]
Merge git://github.com/dbb/youtube-dl

12 years agoUse subprocess to call stty size when COLUMNS is not set
Philipp Hagemeister [Wed, 24 Aug 2011 21:28:30 +0000 (23:28 +0200)]
Use subprocess to call stty size when COLUMNS is not set

12 years agomerge gvalkov/optparse-refactor (minus stty)
Philipp Hagemeister [Wed, 24 Aug 2011 21:21:55 +0000 (23:21 +0200)]
merge gvalkov/optparse-refactor (minus stty)

12 years agomerge upstream
Philipp Hagemeister [Wed, 24 Aug 2011 21:04:10 +0000 (23:04 +0200)]
merge upstream

12 years agoUse `stty size` to find terminal width if we're on linux and COLUMNS is not exported
Georgi Valkov [Tue, 23 Aug 2011 14:03:28 +0000 (17:03 +0300)]
Use `stty size` to find terminal width if we're on linux and COLUMNS is not exported

12 years agoRefactor main function
Georgi Valkov [Tue, 23 Aug 2011 13:48:08 +0000 (16:48 +0300)]
Refactor main function

12 years agoSet help formatter width to terminal width (prevents wrapping)
Georgi Valkov [Tue, 23 Aug 2011 13:42:51 +0000 (16:42 +0300)]
Set help formatter width to terminal width (prevents wrapping)

12 years agoOption parsing refactoring ; Moved version string to __version__
Georgi Valkov [Tue, 23 Aug 2011 12:53:36 +0000 (15:53 +0300)]
Option parsing refactoring ; Moved version string to __version__

Brings terser option formatting to youtube-dl:
  from: -u USERNAME, --username USERNAME
  to:   -u, --username USERNAME

12 years agoMove update_self out of __main__ for clarity
Georgi Valkov [Tue, 23 Aug 2011 12:37:35 +0000 (15:37 +0300)]
Move update_self out of __main__ for clarity

12 years agoFix small indentation inconsistencies
Georgi Valkov [Tue, 23 Aug 2011 12:01:51 +0000 (15:01 +0300)]
Fix small indentation inconsistencies

12 years agoUse module metadata variables instead of comments
Georgi Valkov [Tue, 23 Aug 2011 11:58:22 +0000 (14:58 +0300)]
Use module metadata variables instead of comments

12 years agoAdd vim modeline
Georgi Valkov [Tue, 23 Aug 2011 11:45:26 +0000 (14:45 +0300)]
Add vim modeline

12 years agoFix blip.tv regular expression to not match blipXtv
Philipp Hagemeister [Thu, 18 Aug 2011 07:31:36 +0000 (09:31 +0200)]
Fix blip.tv regular expression to not match blipXtv

12 years agoFix youtu.be links (Closes #142)
Philipp Hagemeister [Sun, 7 Aug 2011 11:01:09 +0000 (13:01 +0200)]
Fix youtu.be links (Closes #142)

12 years agoUse parse_qs instead of homebrewn parsing
Philipp Hagemeister [Sat, 6 Aug 2011 22:29:25 +0000 (00:29 +0200)]
Use parse_qs instead of homebrewn parsing

12 years agoyoutube: Better error messages
Philipp Hagemeister [Sat, 6 Aug 2011 22:02:50 +0000 (00:02 +0200)]
youtube: Better error messages

12 years agoFix Python 2.4 compatibility
Philipp Hagemeister [Sat, 6 Aug 2011 10:16:07 +0000 (12:16 +0200)]
Fix Python 2.4 compatibility

12 years agoUse alternative imports for Python 2.4 (Closes #138)
Philipp Hagemeister [Sat, 6 Aug 2011 09:47:53 +0000 (11:47 +0200)]
Use alternative imports for Python 2.4 (Closes #138)

12 years agoRemove debugging information
Philipp Hagemeister [Sat, 6 Aug 2011 09:20:28 +0000 (11:20 +0200)]
Remove debugging information

12 years agoFix RTMP streams and ignore url-less entries
Philipp Hagemeister [Sat, 6 Aug 2011 09:05:57 +0000 (11:05 +0200)]
Fix RTMP streams and ignore url-less entries

12 years agoRemove horizontal rules from README.md
Daniel Bolton [Fri, 5 Aug 2011 23:15:57 +0000 (19:15 -0400)]
Remove horizontal rules from README.md

12 years agoAdd README.md (markdown file)
Daniel Bolton [Fri, 5 Aug 2011 23:14:13 +0000 (19:14 -0400)]
Add README.md (markdown file)

12 years agoMerge https://github.com/rg3/youtube-dl into vimeo
Rogério Brito [Thu, 4 Aug 2011 20:44:49 +0000 (17:44 -0300)]
Merge https://github.com/rg3/youtube-dl into vimeo

12 years agoMerge https://github.com/rg3/youtube-dl into prefer-webm
Rogério Brito [Thu, 4 Aug 2011 20:44:33 +0000 (17:44 -0300)]
Merge https://github.com/rg3/youtube-dl into prefer-webm

12 years agoBump version number
Ricardo Garcia [Thu, 4 Aug 2011 17:15:14 +0000 (19:15 +0200)]
Bump version number

12 years agoUpdate User-Agent string
Ricardo Garcia [Thu, 4 Aug 2011 17:14:19 +0000 (19:14 +0200)]
Update User-Agent string

12 years agoFix YouTube downloads (code by Philipp Hagemeister)
Ricardo Garcia [Thu, 4 Aug 2011 17:13:02 +0000 (19:13 +0200)]
Fix YouTube downloads (code by Philipp Hagemeister)

12 years agoFix youtube downloads (Closes #135)
Philipp Hagemeister [Wed, 3 Aug 2011 22:04:55 +0000 (00:04 +0200)]
Fix youtube downloads (Closes #135)

12 years agoSuppport for youtube video streams (Mentioned in #108)
Philipp Hagemeister [Sun, 31 Jul 2011 16:09:53 +0000 (18:09 +0200)]
Suppport for youtube video streams (Mentioned in #108)

12 years agoRemoved inaccurate warning
Philipp Hagemeister [Fri, 22 Jul 2011 13:28:42 +0000 (15:28 +0200)]
Removed inaccurate warning

12 years agoBe lenient about download URLs (Closes #108)
Philipp Hagemeister [Mon, 18 Jul 2011 17:43:21 +0000 (19:43 +0200)]
Be lenient about download URLs (Closes #108)

12 years agoremove debugging code
Philipp Hagemeister [Sun, 10 Jul 2011 21:41:19 +0000 (23:41 +0200)]
remove debugging code

12 years ago+ --write-info-json
Philipp Hagemeister [Sun, 10 Jul 2011 19:39:36 +0000 (21:39 +0200)]
+ --write-info-json

12 years agoblip.tv support for python 2.5 with trivialjson
Philipp Hagemeister [Sun, 10 Jul 2011 15:31:54 +0000 (17:31 +0200)]
blip.tv support for python 2.5 with trivialjson

12 years agoUpdate youtube playlist for use playlist?list=id format
Giovanni Visentini [Sat, 9 Jul 2011 14:05:36 +0000 (14:05 +0000)]
Update youtube playlist for use playlist?list=id format

12 years agocall increment_downloads in blip.tv extractor
Philipp Hagemeister [Thu, 7 Jul 2011 12:10:25 +0000 (14:10 +0200)]
call increment_downloads in blip.tv extractor

12 years ago--writedescription option
Philipp Hagemeister [Thu, 7 Jul 2011 10:47:36 +0000 (12:47 +0200)]
--writedescription option

12 years agoFull youtube video descriptions, including special characters (2.6+, with fallback...
Philipp Hagemeister [Thu, 7 Jul 2011 10:12:20 +0000 (12:12 +0200)]
Full youtube video descriptions, including special characters (2.6+, with fallback for older Pythons)

12 years agoSupport for blip.tv/file URLs
Philipp Hagemeister [Sat, 25 Jun 2011 17:26:29 +0000 (19:26 +0200)]
Support for blip.tv/file URLs

12 years agoBasic blip.tv support
Philipp Hagemeister [Tue, 21 Jun 2011 20:24:58 +0000 (22:24 +0200)]
Basic blip.tv support

12 years agoAdded option to allow different audio encoding qualities and to allow specify whether...
rmanola [Tue, 7 Jun 2011 00:46:37 +0000 (17:46 -0700)]
Added option to allow different audio encoding qualities and to allow specify whether erase or not the video when it's need to extract the audio.

12 years agoFixed download from Dailymotion.
knagano [Sat, 7 May 2011 13:53:37 +0000 (22:53 +0900)]
Fixed download from Dailymotion.
Fetches FLV URL from "sdURL" in addVariable("sequence") JSON,
instead of addVariable("video") which doesnot exist today.
Supports new title, uploader nickname format.

13 years agovimeo: Apparently, all videos in vimeo are served in ISO containers.
Rogério Brito [Thu, 21 Apr 2011 00:29:29 +0000 (21:29 -0300)]
vimeo: Apparently, all videos in vimeo are served in ISO containers.

13 years agovimeo: Tweak the regexp to allow some extended URLs from vimeo.
Rogério Brito [Thu, 21 Apr 2011 00:20:55 +0000 (21:20 -0300)]
vimeo: Tweak the regexp to allow some extended URLs from vimeo.

This, in particular, lets me grab the videos from the beginners channel with
URLs like:

    http://vimeo.com/groups/fivebyfive/videos/22648611

Note that the regexp *will* break for other URLs that we don't know about
and that's on purpose: we don't want to accidentally grab videos that would
be passed on to other information extractors.

13 years agovimeo: Ignore if we are using HTTP/S or not.
Rogério Brito [Thu, 21 Apr 2011 00:15:57 +0000 (21:15 -0300)]
vimeo: Ignore if we are using HTTP/S or not.

13 years agovimeo: Remove clutter in some messages.
Rogério Brito [Thu, 21 Apr 2011 00:07:57 +0000 (21:07 -0300)]
vimeo: Remove clutter in some messages.

We should make a unified way of printing messages, but let's follow suit and
do what the main YoutubeIE does here.

13 years agoMerge branch 'master' into prefer-webm
Rogério Brito [Thu, 21 Apr 2011 00:01:31 +0000 (21:01 -0300)]
Merge branch 'master' into prefer-webm

13 years agoMerge branch 'master' into vimeo
Rogério Brito [Thu, 21 Apr 2011 00:00:46 +0000 (21:00 -0300)]
Merge branch 'master' into vimeo

13 years agoDeletes duplicate entry in process_info dictionary of YahooIE
Amaury Gauthier [Thu, 7 Apr 2011 20:45:19 +0000 (22:45 +0200)]
Deletes duplicate entry in process_info dictionary of YahooIE

13 years agoBump version number
Ricardo Garcia [Tue, 29 Mar 2011 18:32:07 +0000 (20:32 +0200)]
Bump version number

13 years agoFix upload date regexp (closes #93)
Ricardo Garcia [Tue, 15 Mar 2011 19:12:10 +0000 (20:12 +0100)]
Fix upload date regexp (closes #93)

13 years agoSplit a couple of lines to make the code more readable
Ricardo Garcia [Tue, 15 Mar 2011 19:04:20 +0000 (20:04 +0100)]
Split a couple of lines to make the code more readable

13 years agoAvoid crash reported in issue #86
Ricardo Garcia [Tue, 15 Mar 2011 19:03:52 +0000 (20:03 +0100)]
Avoid crash reported in issue #86

13 years agoSupport youtube.com/e/ URLs (closes #88)
Ricardo Garcia [Mon, 28 Feb 2011 18:37:58 +0000 (19:37 +0100)]
Support youtube.com/e/ URLs (closes #88)

13 years agoMerge branch 'master' into vimeo
Rogério Brito [Sat, 26 Feb 2011 13:09:36 +0000 (10:09 -0300)]
Merge branch 'master' into vimeo

13 years agoMerge branch 'master' into prefer-webm
Rogério Brito [Sat, 26 Feb 2011 13:09:18 +0000 (10:09 -0300)]
Merge branch 'master' into prefer-webm

13 years agoBump version number
Ricardo Garcia [Fri, 25 Feb 2011 23:47:29 +0000 (00:47 +0100)]
Bump version number

13 years agoMerge branch 'master' into prefer-webm
Rogério Brito [Fri, 25 Feb 2011 23:08:33 +0000 (20:08 -0300)]
Merge branch 'master' into prefer-webm

13 years agoMerge branch 'master' into vimeo
Rogério Brito [Fri, 25 Feb 2011 23:08:12 +0000 (20:08 -0300)]
Merge branch 'master' into vimeo

13 years agoUse '--' to separate the file argument from the options when calling ffmpeg
Idan Kamara [Fri, 25 Feb 2011 21:19:13 +0000 (23:19 +0200)]
Use '--' to separate the file argument from the options when calling ffmpeg

This is to avoid a potential issue if the file name begins with a hyphen since ffmpeg will interpret it as an option

13 years agoBump version number
Ricardo Garcia [Fri, 25 Feb 2011 20:54:16 +0000 (21:54 +0100)]
Bump version number

13 years agoCatch possible exceptions when running ffprobe
Ricardo Garcia [Fri, 25 Feb 2011 20:53:26 +0000 (21:53 +0100)]
Catch possible exceptions when running ffprobe

13 years agoFix stderr print when ffmpeg fails
Idan Kamara [Fri, 25 Feb 2011 20:30:22 +0000 (22:30 +0200)]
Fix stderr print when ffmpeg fails

13 years agoBump version number
Ricardo Garcia [Fri, 25 Feb 2011 19:12:32 +0000 (20:12 +0100)]
Bump version number

13 years agoUpdate User-Agent string
Ricardo Garcia [Fri, 25 Feb 2011 19:11:53 +0000 (20:11 +0100)]
Update User-Agent string

13 years agoAdd an audio extracting PostProcessor using ffmpeg (closes #2)
Ricardo Garcia [Fri, 25 Feb 2011 18:06:58 +0000 (19:06 +0100)]
Add an audio extracting PostProcessor using ffmpeg (closes #2)

13 years agoFix date parsing for YouTube (patch by Drake Wyrm)
Ricardo Garcia [Fri, 25 Feb 2011 18:05:35 +0000 (19:05 +0100)]
Fix date parsing for YouTube (patch by Drake Wyrm)

13 years agoMerge branch 'prefer-webm' of ssh://github.com/rbrito/youtube-dl into prefer-webm
Rogério Brito [Tue, 22 Feb 2011 00:59:23 +0000 (21:59 -0300)]
Merge branch 'prefer-webm' of ssh://github.com/rbrito/youtube-dl into prefer-webm

13 years agoMerge branch 'master' into prefer-webm
Rogério Brito [Tue, 22 Feb 2011 00:59:08 +0000 (21:59 -0300)]
Merge branch 'master' into prefer-webm

13 years agoMerge branch 'vimeo' of ssh://github.com/rbrito/youtube-dl into vimeo
Rogério Brito [Tue, 22 Feb 2011 00:52:48 +0000 (21:52 -0300)]
Merge branch 'vimeo' of ssh://github.com/rbrito/youtube-dl into vimeo

13 years agoMerge branch 'master' into vimeo
Rogério Brito [Tue, 22 Feb 2011 00:51:33 +0000 (21:51 -0300)]
Merge branch 'master' into vimeo

13 years agoAdd Gergely Imreh to the author list
Ricardo Garcia [Sun, 20 Feb 2011 17:01:57 +0000 (18:01 +0100)]
Add Gergely Imreh to the author list

13 years agoFacebook info extractor
Gergely Imreh [Sun, 13 Feb 2011 13:26:58 +0000 (21:26 +0800)]
Facebook info extractor

This IE should be full-featured.

Public videos can be downloaded without login, e.g:
https://www.facebook.com/video/video.php?v=696729990595

Private videos need login, and subject to login rate limit of
a couple of tries / minute.

13 years agoMerge branch 'master' into prefer-webm
Rogério Brito [Thu, 17 Feb 2011 11:19:12 +0000 (09:19 -0200)]
Merge branch 'master' into prefer-webm

13 years agoMerge branch 'master' into vimeo
Rogério Brito [Thu, 17 Feb 2011 11:17:30 +0000 (09:17 -0200)]
Merge branch 'master' into vimeo

13 years agovimeo: Make regexp more robust.
Rogério Brito [Thu, 17 Feb 2011 10:25:45 +0000 (08:25 -0200)]
vimeo: Make regexp more robust.

This change makes the VimeoIE work with http://player.vimeo.com/video/19267888

13 years agoFix possible missing parameter in playlist url extraction
Gergely Imreh [Sun, 13 Feb 2011 11:02:56 +0000 (19:02 +0800)]
Fix possible missing parameter in playlist url extraction

The "playlist_prefix" parameter was missing when parsing playlist urls
that match the recently added format, e.g.:
http://www.youtube.com/user/stanforduniversity#g/c/9D558D49CA734A02
For these URLs (basically, for every playlist type so far, except the
artist list) playlist_prefix has to be equal to "p" for correct
exctraction.

13 years agoSupport more common YouTube playlist URLs
Ricardo Garcia [Sat, 12 Feb 2011 19:19:20 +0000 (20:19 +0100)]
Support more common YouTube playlist URLs

13 years agovimeo: Also accept URLs prefixed by www.
Rogério Brito [Fri, 4 Feb 2011 08:15:27 +0000 (06:15 -0200)]
vimeo: Also accept URLs prefixed by www.

I hope that this doesn't break anything. `:)`

13 years agoMake some of the comments more descriptive.
Rogério Brito [Fri, 4 Feb 2011 06:02:29 +0000 (04:02 -0200)]
Make some of the comments more descriptive.

13 years agoMerge branch 'master' into vimeo
Rogério Brito [Fri, 4 Feb 2011 05:51:16 +0000 (03:51 -0200)]
Merge branch 'master' into vimeo

13 years agoEnable artist playlists in YoutubePlaylistIE
Gergely Imreh [Mon, 31 Jan 2011 10:54:47 +0000 (18:54 +0800)]
Enable artist playlists in YoutubePlaylistIE

Artist playlist pages have different format compared to user playlists,
thus more format checking is needed to construct the correct URL.

From the artist playlist this method downloads all listed below the
"Videos by [Artist Name]" header, plus usually there's one more
video on the side, titled "Youtube Mix for [Artist Name]", which
has a link format that currently cannot be distinguished from the other
videos in the list.

13 years agoFix SyntaxError problem (oops)
Ricardo Garcia [Sun, 30 Jan 2011 12:03:15 +0000 (13:03 +0100)]
Fix SyntaxError problem (oops)

13 years agoUpdate User-Agent string
Ricardo Garcia [Sun, 30 Jan 2011 11:59:18 +0000 (12:59 +0100)]
Update User-Agent string

13 years agoBump version number
Ricardo Garcia [Sun, 30 Jan 2011 11:58:01 +0000 (12:58 +0100)]
Bump version number

13 years agoAdd YoutubeUserIE (code courtesy of Paweł Paprota)
Ricardo Garcia [Sat, 29 Jan 2011 10:55:20 +0000 (11:55 +0100)]
Add YoutubeUserIE (code courtesy of Paweł Paprota)

13 years agoUse non-greedy regexps, for safety.
Rogério Brito [Sat, 29 Jan 2011 06:13:54 +0000 (04:13 -0200)]
Use non-greedy regexps, for safety.

Since I was very lazy when I coded this, I took the fastest route.  Luckily,
Vasyl' Vavrychuk pointed this out and I went (after many months) and just
did some minor changes.

13 years agoPreliminary downloading from vimeo
Rogério Brito [Thu, 25 Nov 2010 06:24:45 +0000 (04:24 -0200)]
Preliminary downloading from vimeo

13 years agoMerge branch 'master' into prefer-webm
Rogério Brito [Sat, 29 Jan 2011 05:45:21 +0000 (03:45 -0200)]
Merge branch 'master' into prefer-webm

13 years agoGive preference to WebM formats.
Rogério Brito [Tue, 23 Nov 2010 23:20:26 +0000 (21:20 -0200)]
Give preference to WebM formats.

This patch gives preference to formats that are Free.

13 years agoSplit some long lines
Ricardo Garcia [Fri, 28 Jan 2011 18:59:47 +0000 (19:59 +0100)]
Split some long lines

13 years agoMake the file timestamp feature optional
Ricardo Garcia [Fri, 28 Jan 2011 18:59:18 +0000 (19:59 +0100)]
Make the file timestamp feature optional

13 years agoSet downloaded file's time stamp from last-modified header
Gergely Imreh [Thu, 27 Jan 2011 05:02:51 +0000 (13:02 +0800)]
Set downloaded file's time stamp from last-modified header

This file stamp setting is very relaxed. If there's any problem
along the way (no last-modified header, bad time string format,
no time set privileges,...) or if nothing is downloaded (e.g. using
resumed download but the file was already complete) then nothing
is done.

13 years agoNew option --get-filename to print output filename
Gergely Imreh [Tue, 25 Jan 2011 03:03:16 +0000 (11:03 +0800)]
New option --get-filename to print output filename

When using youtube-dl within scripts, it is very useful to know
what will be the final output filename with all the title settings and
filename templates applied. Add option to the quiet mode operations
to print that info.

For this I had to move the filename-generation into its own function.
As much as I can tell it should work almost always well, ie. not to
break things if one not actually interested in the title, like in
case of other forced printing. That is, unless there's an invalid
system charset or the user specified a wrong output template. In that
case probably could be assumed that the user does have a problem
(the former) or did want to mess with the filename (the latter).

Signed-off-by: Gergely Imreh <imrehg@gmail.com>
13 years agoSupport for youtube.com/embed/XXXXX URLs (closes #63)
Lionel Elie Mamane [Tue, 25 Jan 2011 07:37:08 +0000 (08:37 +0100)]
Support for youtube.com/embed/XXXXX URLs (closes #63)

13 years agoFix omission of Witold Baryluk as the Dailymotion InfoExtractor author
Ricardo Garcia [Fri, 21 Jan 2011 17:18:48 +0000 (18:18 +0100)]
Fix omission of Witold Baryluk as the Dailymotion InfoExtractor author

13 years agoFix dailymotion support (closes #60)
Ricardo Garcia [Fri, 21 Jan 2011 17:16:33 +0000 (18:16 +0100)]
Fix dailymotion support (closes #60)

13 years agoImprove addinfourl_wrapper for compatibility with older Python versions
Ricardo Garcia [Thu, 20 Jan 2011 19:36:42 +0000 (20:36 +0100)]
Improve addinfourl_wrapper for compatibility with older Python versions

13 years agoWrap call to addinfourl for compatibility with Python 2.4
Ricardo Garcia [Tue, 18 Jan 2011 19:52:37 +0000 (20:52 +0100)]
Wrap call to addinfourl for compatibility with Python 2.4

13 years agoOmit code argument in addinfourl for Python 2.4
Ricardo Garcia [Tue, 18 Jan 2011 18:16:42 +0000 (19:16 +0100)]
Omit code argument in addinfourl for Python 2.4