youtube-dl
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()

14 years agoPut the downloader in full control of output messages
Ricardo Garcia [Thu, 23 Apr 2009 19:58:03 +0000 (21:58 +0200)]
Put the downloader in full control of output messages

14 years agoMove the downloader return code to a class member
Ricardo Garcia [Thu, 23 Apr 2009 19:43:04 +0000 (21:43 +0200)]
Move the downloader return code to a class member

This makes it possible to initialize it with value zero and later let the
trouble() overwrite the value. It simplifies error treatment and paves the way
for the InfoExtracto objects to call process_info() themselves, which should
solve the issues with tor and some other problems.

14 years agoUse getpreferredencoding() instead of getdefaultlocale()
Ricardo Garcia [Wed, 22 Apr 2009 20:57:21 +0000 (22:57 +0200)]
Use getpreferredencoding() instead of getdefaultlocale()

This fixes issue #7 and is recommended after a bug report I made to the
Python team:

http://bugs.python.org/issue5815

14 years agoUpdate User-Agent string
Ricardo Garcia [Wed, 15 Apr 2009 18:17:16 +0000 (20:17 +0200)]
Update User-Agent string

14 years agoMinor adjustments to closely match what a web browser does
Ricardo Garcia [Wed, 15 Apr 2009 18:01:06 +0000 (20:01 +0200)]
Minor adjustments to closely match what a web browser does

14 years agoMove the code to process an InfoExtractor result to its own method
Ricardo Garcia [Thu, 9 Apr 2009 22:59:59 +0000 (00:59 +0200)]
Move the code to process an InfoExtractor result to its own method

14 years agoAdded cap if user requests ytsearch number over 1000 (with warning)
dannycolligan [Tue, 7 Apr 2009 15:21:27 +0000 (08:21 -0700)]
Added cap if user requests ytsearch number over 1000 (with warning)

14 years agoChanged ytsearchall to retrieve max 1000 results
dannyc@omega [Tue, 7 Apr 2009 00:39:16 +0000 (17:39 -0700)]
Changed ytsearchall to retrieve max 1000 results

14 years agoRestore internal version number indicator
Ricardo Garcia [Mon, 6 Apr 2009 15:16:40 +0000 (17:16 +0200)]
Restore internal version number indicator

14 years agoEstablish version number
Ricardo Garcia [Mon, 6 Apr 2009 15:14:09 +0000 (17:14 +0200)]
Establish version number

14 years agoFix issue #5
Ricardo Garcia [Sun, 5 Apr 2009 09:01:02 +0000 (11:01 +0200)]
Fix issue #5

14 years agoRemove some extra whitespace
Ricardo Garcia [Thu, 2 Apr 2009 18:23:13 +0000 (20:23 +0200)]
Remove some extra whitespace

14 years agoSwitch to "INTERNAL" version again
Ricardo Garcia [Sat, 28 Mar 2009 09:34:37 +0000 (10:34 +0100)]
Switch to "INTERNAL" version again

14 years agoSet version number for release
Ricardo Garcia [Sat, 28 Mar 2009 09:27:40 +0000 (10:27 +0100)]
Set version number for release

14 years agoRemove --best-quality option and add proper support for high definition format
Ricardo Garcia [Sat, 28 Mar 2009 09:26:41 +0000 (10:26 +0100)]
Remove --best-quality option and add proper support for high definition format

14 years agoRemove old ignore patterns which are no longer needed
Ricardo Garcia [Wed, 4 Mar 2009 21:23:45 +0000 (22:23 +0100)]
Remove old ignore patterns which are no longer needed

14 years agoReplace setter and getter with simple attribute access
Ricardo Garcia [Wed, 4 Mar 2009 21:12:33 +0000 (22:12 +0100)]
Replace setter and getter with simple attribute access

14 years agoReplace version number while in progress
Ricardo Garcia [Wed, 4 Mar 2009 21:06:18 +0000 (22:06 +0100)]
Replace version number while in progress

14 years agoBump version number
Ricardo Garcia [Tue, 3 Mar 2009 20:44:00 +0000 (21:44 +0100)]
Bump version number

14 years agoRemove generator and webpage template, moved to wiki
Ricardo Garcia [Tue, 3 Mar 2009 20:25:04 +0000 (21:25 +0100)]
Remove generator and webpage template, moved to wiki

14 years agoFix very wrong code for setting the language
Ricardo Garcia [Sun, 1 Mar 2009 23:02:56 +0000 (00:02 +0100)]
Fix very wrong code for setting the language

It turned out that, despite the program working without apparent errors,
the code for setting the language was completely wrong. First, it didn't
run unless some form of authentication was performed. Second, I
misstyped _LANG_URL as _LOGIN_URL, so the language was not being set at
all! Amazing it still worked.

14 years agoFix wrong indentation
Ricardo Garcia [Sat, 28 Feb 2009 23:00:04 +0000 (00:00 +0100)]
Fix wrong indentation

14 years agoBump version number
Ricardo Garcia [Sat, 7 Feb 2009 11:29:00 +0000 (12:29 +0100)]
Bump version number

14 years agoDocument new -w option
Ricardo Garcia [Wed, 4 Feb 2009 20:39:55 +0000 (21:39 +0100)]
Document new -w option

14 years agoAdd que -w or --no-overwrites option
Ricardo Garcia [Wed, 4 Feb 2009 20:38:31 +0000 (21:38 +0100)]
Add que -w or --no-overwrites option

14 years agoPut Danny Colligan as an author in the script itself
Ricardo Garcia [Mon, 2 Feb 2009 19:34:20 +0000 (20:34 +0100)]
Put Danny Colligan as an author in the script itself

14 years agoUse quote_plus instead of manually replacing spaces by plus signs
Ricardo Garcia [Mon, 2 Feb 2009 19:29:44 +0000 (20:29 +0100)]
Use quote_plus instead of manually replacing spaces by plus signs

14 years agoImprove documentation of new features in webpage
Ricardo Garcia [Mon, 2 Feb 2009 19:17:52 +0000 (20:17 +0100)]
Improve documentation of new features in webpage

14 years agoInclude Danny Colligan in credits
Ricardo Garcia [Mon, 2 Feb 2009 19:03:07 +0000 (20:03 +0100)]
Include Danny Colligan in credits

14 years agoInclude Danny Colligan's YouTube search InfoExtractor
Ricardo Garcia [Mon, 2 Feb 2009 18:59:48 +0000 (19:59 +0100)]
Include Danny Colligan's YouTube search InfoExtractor