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

14 years agoFix NameError
Ricardo Garcia [Sat, 31 Jan 2009 11:07:37 +0000 (12:07 +0100)]
Fix NameError

14 years agoDocument new -a option
Ricardo Garcia [Sat, 31 Jan 2009 11:05:25 +0000 (12:05 +0100)]
Document new -a option

14 years agoBump version and increase Firefox version number
Ricardo Garcia [Sat, 31 Jan 2009 09:46:21 +0000 (10:46 +0100)]
Bump version and increase Firefox version number

14 years agoAdd -a (--batch-file) option
Ricardo Garcia [Sat, 31 Jan 2009 09:25:59 +0000 (10:25 +0100)]
Add -a (--batch-file) option

14 years agoFix for YouTube internationalization changes
Ricardo Garcia [Sat, 31 Jan 2009 09:12:22 +0000 (10:12 +0100)]
Fix for YouTube internationalization changes

14 years agoBump version number
Ricardo Garcia [Sat, 1 Nov 2008 14:56:46 +0000 (15:56 +0100)]
Bump version number

14 years agoFix TypeError in decode() method and unordered playlist URLs
Ricardo Garcia [Sat, 1 Nov 2008 14:52:51 +0000 (15:52 +0100)]
Fix TypeError in decode() method and unordered playlist URLs

14 years agoImprove documentation
Ricardo Garcia [Sat, 1 Nov 2008 14:50:50 +0000 (15:50 +0100)]
Improve documentation

14 years agoBump version number
Ricardo Garcia [Thu, 16 Oct 2008 21:34:04 +0000 (23:34 +0200)]
Bump version number

14 years agoMake the YouTube login mechanism work across countries
Ricardo Garcia [Thu, 16 Oct 2008 21:33:19 +0000 (23:33 +0200)]
Make the YouTube login mechanism work across countries

14 years agoBump version number
Ricardo Garcia [Sat, 20 Sep 2008 09:17:04 +0000 (11:17 +0200)]
Bump version number

14 years agoFix metacafe.com and UTF8 output filenames
Ricardo Garcia [Sat, 13 Sep 2008 11:23:24 +0000 (13:23 +0200)]
Fix metacafe.com and UTF8 output filenames

14 years agoBump version string
Ricardo Garcia [Sat, 9 Aug 2008 07:43:25 +0000 (09:43 +0200)]
Bump version string

14 years agoAdd initial version of postprocessing framework
Ricardo Garcia [Sun, 27 Jul 2008 10:13:49 +0000 (12:13 +0200)]
Add initial version of postprocessing framework

14 years agoImprove a couple of detection strings to avoid i18n-related bugs
Ricardo Garcia [Sat, 26 Jul 2008 00:07:03 +0000 (02:07 +0200)]
Improve a couple of detection strings to avoid i18n-related bugs

14 years agoIncrease version number
Ricardo Garcia [Fri, 25 Jul 2008 21:43:45 +0000 (23:43 +0200)]
Increase version number

14 years agoImprove error message regarding output templates and charsets
Ricardo Garcia [Fri, 25 Jul 2008 21:43:00 +0000 (23:43 +0200)]
Improve error message regarding output templates and charsets

14 years agoUpdate webpage to reflect changes
Ricardo Garcia [Fri, 25 Jul 2008 21:42:02 +0000 (23:42 +0200)]
Update webpage to reflect changes

14 years agoSimplify a statement
Ricardo Garcia [Fri, 25 Jul 2008 12:00:02 +0000 (14:00 +0200)]
Simplify a statement

14 years agoMake the most prominent output strings Unicode and fix Unicode title bug
Ricardo Garcia [Fri, 25 Jul 2008 11:28:41 +0000 (13:28 +0200)]
Make the most prominent output strings Unicode and fix Unicode title bug

14 years agoAdd YoutubePlaylistIE class
Ricardo Garcia [Fri, 25 Jul 2008 10:55:01 +0000 (12:55 +0200)]
Add YoutubePlaylistIE class

14 years agoAdd metacafe.com support and minor changse
Ricardo Garcia [Thu, 24 Jul 2008 13:53:24 +0000 (15:53 +0200)]
Add metacafe.com support and minor changse

14 years agoFix directory creation not working with absolute paths
Ricardo Garcia [Thu, 24 Jul 2008 08:07:46 +0000 (10:07 +0200)]
Fix directory creation not working with absolute paths

14 years agoAdd --rate-limit program option
Ricardo Garcia [Thu, 24 Jul 2008 07:47:07 +0000 (09:47 +0200)]
Add --rate-limit program option

14 years agoModify ignore filters
Ricardo Garcia [Tue, 22 Jul 2008 21:03:26 +0000 (23:03 +0200)]
Modify ignore filters

14 years agoStrip newline from version
Ricardo Garcia [Tue, 22 Jul 2008 21:02:42 +0000 (23:02 +0200)]
Strip newline from version

14 years agoAdd script to regenerate index.html
Ricardo Garcia [Tue, 22 Jul 2008 21:01:27 +0000 (23:01 +0200)]
Add script to regenerate index.html

14 years agoAdd old version of webpage
Ricardo Garcia [Tue, 22 Jul 2008 20:52:09 +0000 (22:52 +0200)]
Add old version of webpage

14 years agoFix video format command line option parsing and set version number
Ricardo Garcia [Tue, 22 Jul 2008 20:47:36 +0000 (22:47 +0200)]
Fix video format command line option parsing and set version number

16 years agoConvert direct uses of .to_stdout() into methods to ease inheritation
Ricardo Garcia [Tue, 22 Jul 2008 20:40:50 +0000 (22:40 +0200)]
Convert direct uses of .to_stdout() into methods to ease inheritation

16 years agoAdd --mobile-version program option
Ricardo Garcia [Tue, 22 Jul 2008 20:18:51 +0000 (22:18 +0200)]
Add --mobile-version program option

16 years agoMake the downloader print the name of the destination file
Ricardo Garcia [Tue, 22 Jul 2008 13:53:22 +0000 (15:53 +0200)]
Make the downloader print the name of the destination file