youtube-dl
14 years agoRequest video info webpage using "embedded" instead of "detailpage"
Ricardo Garcia [Thu, 1 Apr 2010 18:46:00 +0000 (20:46 +0200)]
Request video info webpage using "embedded" instead of "detailpage"

In the request for get_video_info, use el=embedded instead of el=detailpage, as
if the request was coming from an embedded video player instead of the video
webpage. This created problems for some videos, with YouTube replying with
"Invalid parameters". This fixes issue #109 and fixes issue #110.

14 years agoSolve minor aesthetical problem in rtmpdump error messages
Ricardo Garcia [Tue, 30 Mar 2010 09:50:57 +0000 (11:50 +0200)]
Solve minor aesthetical problem in rtmpdump error messages

14 years agoAdded --all-format option from tweaked patch (fixes issue #102)
Ricardo Garcia [Fri, 19 Mar 2010 17:15:43 +0000 (18:15 +0100)]
Added --all-format option from tweaked patch (fixes issue #102)

14 years agoMake the "-" output file name equivalent to /dev/stdout (fixes issue #103)
Ricardo Garcia [Fri, 19 Mar 2010 16:51:20 +0000 (17:51 +0100)]
Make the "-" output file name equivalent to /dev/stdout (fixes issue #103)

14 years agoBump version number
Ricardo Garcia [Tue, 16 Mar 2010 20:31:53 +0000 (21:31 +0100)]
Bump version number

14 years agoDo not use the final URL for -g
Ricardo Garcia [Thu, 11 Mar 2010 21:56:47 +0000 (22:56 +0100)]
Do not use the final URL for -g

14 years agoBump version number
Ricardo Garcia [Sun, 7 Mar 2010 10:25:30 +0000 (11:25 +0100)]
Bump version number

14 years agoAdd --no-progress option (fixes issue #98)
Ricardo Garcia [Sun, 7 Mar 2010 10:24:22 +0000 (11:24 +0100)]
Add --no-progress option (fixes issue #98)

14 years agoGive preference to format 34 before format 5 in quality list
Ricardo Garcia [Sun, 28 Feb 2010 22:49:52 +0000 (23:49 +0100)]
Give preference to format 34 before format 5 in quality list

14 years agoDo not error out on problems printing the file name
Ricardo Garcia [Sun, 28 Feb 2010 22:49:14 +0000 (23:49 +0100)]
Do not error out on problems printing the file name

14 years agoProperly support simple titles in the newest InfoExtractors
Ricardo Garcia [Sat, 20 Feb 2010 23:13:34 +0000 (00:13 +0100)]
Properly support simple titles in the newest InfoExtractors

14 years agoDo not pass URLs around in Unicode form (fixes issue #92)
Ricardo Garcia [Sat, 20 Feb 2010 23:06:00 +0000 (00:06 +0100)]
Do not pass URLs around in Unicode form (fixes issue #92)

14 years agoBump version number
Ricardo Garcia [Sat, 13 Feb 2010 16:27:09 +0000 (17:27 +0100)]
Bump version number

14 years agoTweak final filename in the open attempt, to be platform and filename-agnostic
Ricardo Garcia [Sat, 13 Feb 2010 12:29:25 +0000 (13:29 +0100)]
Tweak final filename in the open attempt, to be platform and filename-agnostic

14 years agoFix SyntaxError triggered by mistake in user-agent commit
Ricardo Garcia [Sat, 13 Feb 2010 12:27:41 +0000 (13:27 +0100)]
Fix SyntaxError triggered by mistake in user-agent commit

14 years agoFix problem with sanitize_title not replacing Windows directory separator
Ricardo Garcia [Fri, 12 Feb 2010 23:19:46 +0000 (00:19 +0100)]
Fix problem with sanitize_title not replacing Windows directory separator

14 years agoUpdate user-agent string
Ricardo Garcia [Fri, 12 Feb 2010 20:07:21 +0000 (21:07 +0100)]
Update user-agent string

14 years agoCherry-pick obeythepenguin's changes and merge them into main branch
Ricardo Garcia [Fri, 12 Feb 2010 20:01:55 +0000 (21:01 +0100)]
Cherry-pick obeythepenguin's changes and merge them into main branch

14 years agoSupport simplest new URLs in YouTube
Ricardo Garcia [Sun, 31 Jan 2010 08:25:52 +0000 (09:25 +0100)]
Support simplest new URLs in YouTube

14 years agoBump version number
Ricardo Garcia [Tue, 19 Jan 2010 19:26:44 +0000 (20:26 +0100)]
Bump version number

14 years agoImprove rtmpdump support
Ricardo Garcia [Tue, 19 Jan 2010 19:04:56 +0000 (20:04 +0100)]
Improve rtmpdump support

14 years agoOnly verify the URL when it's an HTTP download
Ricardo Garcia [Sat, 9 Jan 2010 22:53:47 +0000 (23:53 +0100)]
Only verify the URL when it's an HTTP download

14 years agopatched to add Google Video and Photobucket support
obeythepenguin@gmail.com [Fri, 15 Jan 2010 21:26:41 +0000 (16:26 -0500)]
patched to add Google Video and Photobucket support

14 years agoBump version number
Ricardo Garcia [Wed, 6 Jan 2010 09:51:38 +0000 (10:51 +0100)]
Bump version number

14 years agoAdd flexibility importing the "parse_qs" function (fixes issue #81)
Ricardo Garcia [Wed, 6 Jan 2010 09:49:38 +0000 (10:49 +0100)]
Add flexibility importing the "parse_qs" function (fixes issue #81)

14 years agoBump version number
Ricardo Garcia [Tue, 5 Jan 2010 11:45:30 +0000 (12:45 +0100)]
Bump version number

14 years agoFix minor problems with Youtube user InfoExtractor
Ricardo Garcia [Sun, 3 Jan 2010 12:12:34 +0000 (13:12 +0100)]
Fix minor problems with Youtube user InfoExtractor

14 years agoAdd support for using rtmpdump
Ricardo Garcia [Sun, 3 Jan 2010 12:12:11 +0000 (13:12 +0100)]
Add support for using rtmpdump

14 years agoBump version number
Ricardo Garcia [Sat, 26 Dec 2009 18:58:11 +0000 (19:58 +0100)]
Bump version number

14 years agoHandle file open mode correctly (fixes issue #76)
Ricardo Garcia [Mon, 21 Dec 2009 20:43:15 +0000 (21:43 +0100)]
Handle file open mode correctly (fixes issue #76)

14 years agoAdded support to download all of a user's videos!
Archanamiya [Wed, 25 Nov 2009 21:34:34 +0000 (16:34 -0500)]
Added support to download all of a user's videos!

14 years agoFix detection of uploader nickname in metacafe (fixes issue #67)
Ricardo Garcia [Tue, 24 Nov 2009 19:40:34 +0000 (20:40 +0100)]
Fix detection of uploader nickname in metacafe (fixes issue #67)

14 years agoTake format 37 into account (fixes issue #65)
Ricardo Garcia [Fri, 20 Nov 2009 20:51:38 +0000 (21:51 +0100)]
Take format 37 into account (fixes issue #65)

14 years agoAdd self-updating code
Ricardo Garcia [Thu, 19 Nov 2009 19:19:47 +0000 (20:19 +0100)]
Add self-updating code

14 years agoUse unquote_plus to decode video title
Ricardo Garcia [Sat, 14 Nov 2009 14:04:50 +0000 (15:04 +0100)]
Use unquote_plus to decode video title

14 years agoAllow empty titles because they do appear in some videos (fixes issue #53)
Ricardo Garcia [Mon, 21 Sep 2009 18:39:51 +0000 (20:39 +0200)]
Allow empty titles because they do appear in some videos (fixes issue #53)

14 years agoUse default values for "continuedl" and "nooverwrites" downloader parameters
Ricardo Garcia [Sat, 19 Sep 2009 22:11:11 +0000 (00:11 +0200)]
Use default values for "continuedl" and "nooverwrites" downloader parameters

14 years agoAvoid using Unicode strings when forming URL requests (fixes issue #50)
Ricardo Garcia [Sat, 19 Sep 2009 22:10:32 +0000 (00:10 +0200)]
Avoid using Unicode strings when forming URL requests (fixes issue #50)

14 years agoImprove preferred encoding detection method
Ricardo Garcia [Sat, 19 Sep 2009 22:08:50 +0000 (00:08 +0200)]
Improve preferred encoding detection method

14 years agoRestore INTERNAL version number
Ricardo Garcia [Sun, 13 Sep 2009 08:49:25 +0000 (10:49 +0200)]
Restore INTERNAL version number

14 years agoBump version number
Ricardo Garcia [Sun, 13 Sep 2009 08:48:21 +0000 (10:48 +0200)]
Bump version number

14 years agoReport final URL with -g and do not print URLs normally (fixes issue #49)
Ricardo Garcia [Sun, 13 Sep 2009 08:46:04 +0000 (10:46 +0200)]
Report final URL with -g and do not print URLs normally (fixes issue #49)

14 years agoHandle weird OSX locale settings gracefully (fixes issue #43)
Ricardo Garcia [Sun, 13 Sep 2009 08:45:04 +0000 (10:45 +0200)]
Handle weird OSX locale settings gracefully (fixes issue #43)

14 years agoRestore INTERNAL version number
Ricardo Garcia [Tue, 8 Sep 2009 07:54:51 +0000 (09:54 +0200)]
Restore INTERNAL version number

14 years agoBump version number
Ricardo Garcia [Tue, 8 Sep 2009 07:54:14 +0000 (09:54 +0200)]
Bump version number

14 years agoModify _MORE_PAGES_INDICATOR for searches (fixes issue #41)
Ricardo Garcia [Fri, 14 Aug 2009 22:33:50 +0000 (00:33 +0200)]
Modify _MORE_PAGES_INDICATOR for searches (fixes issue #41)

14 years agoAccept my_playlists syntax for playlists
Ricardo Garcia [Wed, 12 Aug 2009 21:15:22 +0000 (23:15 +0200)]
Accept my_playlists syntax for playlists

14 years agoDo not specify any format as a last option for the -b flag
Ricardo Garcia [Mon, 10 Aug 2009 20:10:40 +0000 (22:10 +0200)]
Do not specify any format as a last option for the -b flag

14 years agoSet INTERNAL version number
Ricardo Garcia [Sat, 8 Aug 2009 12:59:14 +0000 (14:59 +0200)]
Set INTERNAL version number

14 years agoBump version number
Ricardo Garcia [Sat, 8 Aug 2009 12:57:56 +0000 (14:57 +0200)]
Bump version number

14 years agoUse get_video_info to work around captcha problems (fixes issue #31)
Ricardo Garcia [Sat, 8 Aug 2009 12:56:06 +0000 (14:56 +0200)]
Use get_video_info to work around captcha problems (fixes issue #31)

14 years agoFix minor problem with size formatting method
Ricardo Garcia [Sat, 8 Aug 2009 12:54:39 +0000 (14:54 +0200)]
Fix minor problem with size formatting method

14 years agoUpdate User-agent string
Ricardo Garcia [Sat, 8 Aug 2009 12:53:13 +0000 (14:53 +0200)]
Update User-agent string

14 years agoFix metacafe.com code due to recent changes in the site
Ricardo Garcia [Sun, 2 Aug 2009 10:18:52 +0000 (12:18 +0200)]
Fix metacafe.com code due to recent changes in the site

14 years agoInclude format 5 in best quality list
Ricardo Garcia [Mon, 13 Jul 2009 13:47:06 +0000 (15:47 +0200)]
Include format 5 in best quality list

14 years agoProperly encode messages sent to stderr (fixes issue #34)
Ricardo Garcia [Mon, 13 Jul 2009 13:25:14 +0000 (15:25 +0200)]
Properly encode messages sent to stderr (fixes issue #34)

14 years agoBump version number
Ricardo Garcia [Mon, 29 Jun 2009 07:25:19 +0000 (09:25 +0200)]
Bump version number

14 years agoModify "more pages" check in YouTube playlist (fixes issue #29)
Ricardo Garcia [Tue, 9 Jun 2009 18:19:29 +0000 (20:19 +0200)]
Modify "more pages" check in YouTube playlist (fixes issue #29)

14 years agoDelay opening file until there is data to write
Ricardo Garcia [Sat, 6 Jun 2009 23:11:50 +0000 (01:11 +0200)]
Delay opening file until there is data to write

Fixes issue #19.

14 years agoRestore INTERNAL version number
Ricardo Garcia [Sat, 30 May 2009 08:51:14 +0000 (10:51 +0200)]
Restore INTERNAL version number

14 years agoBump version number
Ricardo Garcia [Sat, 30 May 2009 08:50:42 +0000 (10:50 +0200)]
Bump version number

14 years agoDocument new "continuedl" FileDownloader option
Ricardo Garcia [Wed, 27 May 2009 21:04:18 +0000 (23:04 +0200)]
Document new "continuedl" FileDownloader option

14 years agoRemove integer casts and replace them with long integer casts
Ricardo Garcia [Wed, 27 May 2009 21:03:56 +0000 (23:03 +0200)]
Remove integer casts and replace them with long integer casts

14 years agoFix missing cast preventing detection of already downloaded file
Ricardo Garcia [Wed, 27 May 2009 21:02:37 +0000 (23:02 +0200)]
Fix missing cast preventing detection of already downloaded file

14 years agoTweaks to ivanov's code
Ricardo Garcia [Wed, 27 May 2009 20:50:18 +0000 (22:50 +0200)]
Tweaks to ivanov's code

14 years agoAdded -c option (--continue)
Paul Ivanov [Tue, 26 May 2009 21:06:21 +0000 (14:06 -0700)]
Added -c option (--continue)

interrupted downloads will properly resume and append to the previously downloaded data, instead of overwriting the file.

There's some error checking - if the length of the file to be download matches the length of the previously downloaded data, we report that this file has already been downloaded and do nothing.

If there is some other HTTP 416 'Requested range not satisfiable' error, we simply re-download the whole file (reverting to the original functionality)

All other HTTP errors are simply raised.

Resuming does not override -w (--nooverwrite), since it is not clear what should happen if file on disk is larger than file to be downloaded.

Thus, -c does nothing if -w is present.

14 years agoFix TypeError when using the -f option (fixes issue #24)
Ricardo Garcia [Tue, 26 May 2009 19:26:09 +0000 (21:26 +0200)]
Fix TypeError when using the -f option (fixes issue #24)

14 years agoRestore INTERNAL version number
Ricardo Garcia [Mon, 25 May 2009 19:06:28 +0000 (21:06 +0200)]
Restore INTERNAL version number

14 years agoBump version number
Ricardo Garcia [Mon, 25 May 2009 19:05:50 +0000 (21:05 +0200)]
Bump version number

14 years agoRemove trails from the "append_const" change (fixes issue #23)
Ricardo Garcia [Mon, 25 May 2009 19:02:59 +0000 (21:02 +0200)]
Remove trails from the "append_const" change (fixes issue #23)

14 years agoOnly catch UnavailableFormatError in call to process_info
Ricardo Garcia [Sun, 24 May 2009 09:09:30 +0000 (11:09 +0200)]
Only catch UnavailableFormatError in call to process_info

14 years agoVerify URLs in simulate mode (fixes issue #22)
Ricardo Garcia [Sun, 24 May 2009 09:07:51 +0000 (11:07 +0200)]
Verify URLs in simulate mode (fixes issue #22)

14 years agoRestore "INTERNAL" version number
Ricardo Garcia [Fri, 22 May 2009 22:22:50 +0000 (00:22 +0200)]
Restore "INTERNAL" version number

14 years agoUpdate version number in LATEST_VERSION
Ricardo Garcia [Fri, 22 May 2009 22:20:08 +0000 (00:20 +0200)]
Update version number in LATEST_VERSION

14 years agoBump version number
Ricardo Garcia [Fri, 22 May 2009 22:19:17 +0000 (00:19 +0200)]
Bump version number

14 years agoHandle "content too short" errors properly
Ricardo Garcia [Thu, 21 May 2009 18:59:02 +0000 (20:59 +0200)]
Handle "content too short" errors properly

14 years agoClose video file before removing it.
Ricardo Garcia [Thu, 21 May 2009 18:58:31 +0000 (20:58 +0200)]
Close video file before removing it.

14 years agoRemove .hgignore from version tracking
Ricardo Garcia [Sun, 17 May 2009 07:43:05 +0000 (09:43 +0200)]
Remove .hgignore from version tracking

14 years agoAdd LATEST_VERSION to further ease checking which is the latest stable version
Ricardo Garcia [Sun, 17 May 2009 07:39:25 +0000 (09:39 +0200)]
Add LATEST_VERSION to further ease checking which is the latest stable version

14 years agoPut back INTERNAL version
Ricardo Garcia [Wed, 13 May 2009 20:10:01 +0000 (22:10 +0200)]
Put back INTERNAL version

14 years agoSet version number
Ricardo Garcia [Wed, 13 May 2009 20:09:20 +0000 (22:09 +0200)]
Set version number

14 years agoUse store_const instead of append_const as the latter requires Python 2.5
Ricardo Garcia [Wed, 13 May 2009 20:08:34 +0000 (22:08 +0200)]
Use store_const instead of append_const as the latter requires Python 2.5

14 years agoRestore INTERNAL version number
Ricardo Garcia [Mon, 11 May 2009 18:13:44 +0000 (20:13 +0200)]
Restore INTERNAL version number

14 years agoPut version number in place
Ricardo Garcia [Mon, 11 May 2009 18:12:18 +0000 (20:12 +0200)]
Put version number in place

14 years agoAdd an "epoch" keyword to the output template
Ricardo Garcia [Mon, 4 May 2009 17:31:00 +0000 (19:31 +0200)]
Add an "epoch" keyword to the output template

14 years agoAdd format 35 (flv) as second best in quality
Ricardo Garcia [Sat, 2 May 2009 12:40:29 +0000 (14:40 +0200)]
Add format 35 (flv) as second best in quality

14 years agoMove the -t and -l options to the filesystem group
Ricardo Garcia [Wed, 29 Apr 2009 17:32:40 +0000 (19:32 +0200)]
Move the -t and -l options to the filesystem group

14 years agoSome consistency changes and ghost-file bugfix after discussion with rg3
dannycolligan [Tue, 28 Apr 2009 21:39:23 +0000 (14:39 -0700)]
Some consistency changes and ghost-file bugfix after discussion with rg3

14 years agoFixed ambiguity of multiple video option specifiers by dissalowing it; changed some...
dannycolligan [Tue, 28 Apr 2009 19:35:25 +0000 (12:35 -0700)]
Fixed ambiguity of multiple video option specifiers by dissalowing it; changed some sys.ext calls to parser.error

14 years agoAdded -b option and created option groups for help prompt
dannycolligan [Tue, 28 Apr 2009 05:30:20 +0000 (22:30 -0700)]
Added -b option and created option groups for help prompt

14 years agoUpdate and correct (format,extension) table for YouTube
Ricardo Garcia [Sun, 26 Apr 2009 20:01:50 +0000 (22:01 +0200)]
Update and correct (format,extension) table for YouTube

14 years agoMinor documentation change
Ricardo Garcia [Sat, 25 Apr 2009 12:33:52 +0000 (14:33 +0200)]
Minor documentation change

14 years agoSkip blank lines in batch file -- fixes issue #9
Ricardo Garcia [Sat, 25 Apr 2009 11:30:50 +0000 (13:30 +0200)]
Skip blank lines in batch file -- fixes issue #9

14 years agoRevert version number to INTERNAL
Ricardo Garcia [Sat, 25 Apr 2009 09:56:01 +0000 (11:56 +0200)]
Revert version number to INTERNAL

14 years agoSet version number
Ricardo Garcia [Sat, 25 Apr 2009 09:54:11 +0000 (11:54 +0200)]
Set version number

14 years agoFix code for metacafe.com (this fixes issue #8)
Ricardo Garcia [Sat, 25 Apr 2009 09:52:33 +0000 (11:52 +0200)]
Fix code for metacafe.com (this fixes issue #8)

14 years agoFix some minor unicode-related problems
Ricardo Garcia [Sat, 25 Apr 2009 09:11:11 +0000 (11:11 +0200)]
Fix some minor unicode-related problems

14 years agoUpdate internal documentation to reflect the new behaviour
Ricardo Garcia [Thu, 23 Apr 2009 20:34:58 +0000 (22:34 +0200)]
Update internal documentation to reflect the new behaviour

14 years agoDownload videos after extracting information
Ricardo Garcia [Thu, 23 Apr 2009 20:20:06 +0000 (22:20 +0200)]
Download videos after extracting information

This is achieved by letting the InfoExtractors instruct its downloader to
process the information dictionary just after extracting the information. As a
consequence, some code is simplified too.

14 years agoReplase self._downloader.to_stderr() with self._downloader.trouble()
Ricardo Garcia [Thu, 23 Apr 2009 20:01:28 +0000 (22:01 +0200)]
Replase self._downloader.to_stderr() with self._downloader.trouble()