]> gitweb @ CieloNegro.org - youtube-dl.git/log
youtube-dl.git
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 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

13 years agoMake the self-updating function a bit more robust
Ricardo Garcia [Wed, 12 Jan 2011 20:07:56 +0000 (21:07 +0100)]
Make the self-updating function a bit more robust

13 years agoAdd support for embedded YouTube playist URLs (closes #54)
Ricardo Garcia [Wed, 12 Jan 2011 19:22:37 +0000 (20:22 +0100)]
Add support for embedded YouTube playist URLs (closes #54)

13 years agoFix "unable to rename file" Windows error (closes #56)
Ricardo Garcia [Wed, 12 Jan 2011 19:21:43 +0000 (20:21 +0100)]
Fix "unable to rename file" Windows error (closes #56)

13 years agoAdd proper support for "gzip" and "deflate" encodings
Ricardo Garcia [Wed, 12 Jan 2011 19:20:37 +0000 (20:20 +0100)]
Add proper support for "gzip" and "deflate" encodings

13 years agoFix bug in regular expression for youtu.be links
Ricardo Garcia [Mon, 10 Jan 2011 11:54:14 +0000 (12:54 +0100)]
Fix bug in regular expression for youtu.be links

13 years agoAdd --no-part option (closes #48)
Ricardo Garcia [Fri, 7 Jan 2011 09:23:18 +0000 (10:23 +0100)]
Add --no-part option (closes #48)

13 years agoRemove trailing whitespace
Ricardo Garcia [Fri, 7 Jan 2011 09:22:01 +0000 (10:22 +0100)]
Remove trailing whitespace

13 years agoAdded --console-title to display download progress in console window title.
Mantas Mikulėnas [Mon, 3 Jan 2011 14:14:19 +0000 (16:14 +0200)]
Added --console-title to display download progress in console window title.

This uses SetConsoleTitle() Win32 API for Windows Console, and Xterm escape sequence otherwise.

13 years agoAdd --dump-user-agent option (patch provided by Benjamin Johnson)
Ricardo Garcia [Mon, 3 Jan 2011 10:47:23 +0000 (11:47 +0100)]
Add --dump-user-agent option (patch provided by Benjamin Johnson)

13 years agoPrint new line before a few error messages
Ricardo Garcia [Mon, 3 Jan 2011 10:22:49 +0000 (11:22 +0100)]
Print new line before a few error messages

13 years agoRequest page compression by default, like Firefox does
Ricardo Garcia [Thu, 16 Dec 2010 06:09:58 +0000 (07:09 +0100)]
Request page compression by default, like Firefox does

13 years agoTake into account resume_len when calculating speed and ETA
Ricardo Garcia [Wed, 15 Dec 2010 20:42:11 +0000 (21:42 +0100)]
Take into account resume_len when calculating speed and ETA

13 years agoFix erroneous "content too short" error message
Ricardo Garcia [Sun, 12 Dec 2010 18:21:09 +0000 (19:21 +0100)]
Fix erroneous "content too short" error message

13 years agoRemove deprecated -b option and nonworking -m option (closes #39)
Ricardo Garcia [Sat, 11 Dec 2010 10:35:28 +0000 (11:35 +0100)]
Remove deprecated -b option and nonworking -m option (closes #39)

13 years agoStop attempting to use get_video and detect missing formats ourselves
Ricardo Garcia [Sat, 11 Dec 2010 10:34:10 +0000 (11:34 +0100)]
Stop attempting to use get_video and detect missing formats ourselves

13 years agoDo not use 0% as the starting point in resumed downloads (closes #40)
Ricardo Garcia [Sat, 11 Dec 2010 10:32:13 +0000 (11:32 +0100)]
Do not use 0% as the starting point in resumed downloads (closes #40)

13 years agoFix problem when requesting an existing format explicitly with -f
Ricardo Garcia [Thu, 9 Dec 2010 18:57:39 +0000 (19:57 +0100)]
Fix problem when requesting an existing format explicitly with -f

13 years agoBump version number
Ricardo Garcia [Thu, 9 Dec 2010 18:37:07 +0000 (19:37 +0100)]
Bump version number

13 years agoImprove temporary filename handling of special cases
Ricardo Garcia [Thu, 9 Dec 2010 18:33:04 +0000 (19:33 +0100)]
Improve temporary filename handling of special cases

13 years agoFix YoutubeIE after recent YouTube changes (closes #34)
Ricardo Garcia [Thu, 9 Dec 2010 18:22:32 +0000 (19:22 +0100)]
Fix YoutubeIE after recent YouTube changes (closes #34)

13 years agoAdd Vasyl' Vavrychuk to the list of authors
Ricardo Garcia [Wed, 8 Dec 2010 10:04:22 +0000 (11:04 +0100)]
Add Vasyl' Vavrychuk to the list of authors

13 years agoImplemented depositfiles.com support
Vasyl' Vavrychuk [Sun, 5 Dec 2010 19:09:14 +0000 (21:09 +0200)]
Implemented depositfiles.com support

13 years agoFixed failure of os.rename after receiving file finished due to file not being closed.
Vasyl' Vavrychuk [Sun, 5 Dec 2010 18:57:46 +0000 (20:57 +0200)]
Fixed failure of os.rename after receiving file finished due to file not being closed.

Following error happen while at the end of _do_download called try_rename
WindowsError: [Error 32] The process cannot access the file because it is being used by another process

13 years agoreport_extraction was never called for GenericIE
Vasyl' Vavrychuk [Sun, 5 Dec 2010 18:48:22 +0000 (20:48 +0200)]
report_extraction was never called for GenericIE

13 years agoUse a temporary filename to download files
Ricardo Garcia [Sat, 4 Dec 2010 09:38:53 +0000 (10:38 +0100)]
Use a temporary filename to download files

13 years agoReworked 'upload_date' code for output sequence in YoutubeIE.
Nevar Angelo [Tue, 30 Nov 2010 16:51:00 +0000 (18:51 +0200)]
Reworked 'upload_date' code for output sequence in YoutubeIE.

Reverted to previous version of 'upload_date' and fixed
a mistake that prevented the code from working properly.

14 years agoBump version number
Ricardo Garcia [Fri, 19 Nov 2010 18:41:09 +0000 (19:41 +0100)]
Bump version number

14 years agoUpdate User-Agent string
Ricardo Garcia [Fri, 19 Nov 2010 18:40:18 +0000 (19:40 +0100)]
Update User-Agent string

14 years agoRework upload date mechanism after detecting problems in several tests
Ricardo Garcia [Fri, 19 Nov 2010 18:31:26 +0000 (19:31 +0100)]
Rework upload date mechanism after detecting problems in several tests

14 years agoRestore file permissions
Ricardo Garcia [Fri, 19 Nov 2010 17:37:07 +0000 (18:37 +0100)]
Restore file permissions

14 years agoMerge branch 'master' of https://github.com/psi-neamf/youtube-dl into psi-neamf
Ricardo Garcia [Fri, 19 Nov 2010 17:30:58 +0000 (18:30 +0100)]
Merge branch 'master' of https://github.com/psi-neamf/youtube-dl into psi-neamf

14 years agoCorrectly parse the player URL in RTMP downloads (closes #11)
jamiejones [Tue, 16 Nov 2010 21:52:23 +0000 (13:52 -0800)]
Correctly parse the player URL in RTMP downloads (closes #11)

Fixed several problems courtesy of jamiejones:

The parsing for the SWF url was wrong (the "//" are now escaped and the
initial .*match needs to be 'ungreedy'), so the -W setting to rtmpdump
was not set, causing the decryption of the video to be wrong.

Finally, add "&amp;has_verified=1" to the fetch of the HMTL page to
allow fetching of age-restricted videos.

14 years agoAdded 'uploaddate' output sequence for YoutubeIE.
Nevar Angelo [Wed, 17 Nov 2010 18:55:30 +0000 (20:55 +0200)]
Added 'uploaddate' output sequence for YoutubeIE.

14 years agoMinor help text correction
Ricardo Garcia [Sat, 6 Nov 2010 21:13:59 +0000 (22:13 +0100)]
Minor help text correction

14 years agoAdded command line switch -A --auto-number
Nevar Angelo [Sat, 6 Nov 2010 20:34:22 +0000 (22:34 +0200)]
Added command line switch -A --auto-number

Numbering downloaded URLs was implemented with %(ord)s in the
output template. It has been replaced with the %(autonumber)s
sequence and is now also available as a command line switch.

14 years agoAllow comments in batch file.
Nevar Angelo [Sat, 6 Nov 2010 20:21:45 +0000 (22:21 +0200)]
Allow comments in batch file.

14 years agoAdd playlist-end option (courtesy of Nevar Angelo)
Ricardo Garcia [Thu, 4 Nov 2010 22:19:09 +0000 (23:19 +0100)]
Add playlist-end option (courtesy of Nevar Angelo)

14 years agoModify autoupdate URLs to match the ones from github.com
Ricardo Garcia [Sun, 31 Oct 2010 14:46:58 +0000 (15:46 +0100)]
Modify autoupdate URLs to match the ones from github.com

14 years agoBump version number
Ricardo Garcia [Sun, 24 Oct 2010 15:35:47 +0000 (17:35 +0200)]
Bump version number

14 years agoUpdate User-Agent string
Ricardo Garcia [Sun, 24 Oct 2010 15:35:08 +0000 (17:35 +0200)]
Update User-Agent string

14 years agoLoad cookies if the cookie file exists when starting the program
Ricardo Garcia [Sun, 24 Oct 2010 15:31:33 +0000 (17:31 +0200)]
Load cookies if the cookie file exists when starting the program

14 years agoUse stderr for output when the output file is "-" (fixes issue #216)
Ricardo Garcia [Sat, 23 Oct 2010 11:19:26 +0000 (13:19 +0200)]
Use stderr for output when the output file is "-" (fixes issue #216)

14 years agoAdd new --cookies option to be able to save cookies to disk (fixes issue #208)
Ricardo Garcia [Sat, 23 Oct 2010 10:54:00 +0000 (12:54 +0200)]
Add new --cookies option to be able to save cookies to disk (fixes issue #208)

14 years agoSet stdout to binary mode under Windows (fixes issue #218)
Ricardo Garcia [Sat, 23 Oct 2010 10:22:42 +0000 (12:22 +0200)]
Set stdout to binary mode under Windows (fixes issue #218)

14 years agoSupport "https" in YouTube video URLs (fixes issue #215)
Ricardo Garcia [Mon, 11 Oct 2010 09:21:28 +0000 (11:21 +0200)]
Support "https" in YouTube video URLs (fixes issue #215)

14 years agoUse HTTPS for the login URL (fixes issue #163)
Ricardo Garcia [Sat, 9 Oct 2010 10:28:15 +0000 (12:28 +0200)]
Use HTTPS for the login URL (fixes issue #163)

14 years agoBump version number
Ricardo Garcia [Sun, 3 Oct 2010 09:11:59 +0000 (11:11 +0200)]
Bump version number

14 years agoRetry on any 5xx server error
Ricardo Garcia [Sun, 3 Oct 2010 09:05:20 +0000 (11:05 +0200)]
Retry on any 5xx server error

14 years agoTreat HTTP error 500 the same way as 503 (fixes issue #209)
Ricardo Garcia [Sat, 11 Sep 2010 07:58:34 +0000 (09:58 +0200)]
Treat HTTP error 500 the same way as 503 (fixes issue #209)

14 years agoSupport the -nocookie suffix in youtube domain name (fixes issue #200)
Ricardo Garcia [Sat, 11 Sep 2010 07:54:17 +0000 (09:54 +0200)]
Support the -nocookie suffix in youtube domain name (fixes issue #200)

14 years agoDo not print file name on warning message (fixes issue #197)
Ricardo Garcia [Sat, 11 Sep 2010 07:52:25 +0000 (09:52 +0200)]
Do not print file name on warning message (fixes issue #197)

14 years agoFix "unable to extract uploader nickname" error with Dailymotion
Ricardo Garcia [Sat, 11 Sep 2010 07:47:21 +0000 (09:47 +0200)]
Fix "unable to extract uploader nickname" error with Dailymotion

14 years agoDecode the reason given on YouTube errors to avoid crashes (fixes issue #193)
Ricardo Garcia [Sat, 21 Aug 2010 22:48:55 +0000 (00:48 +0200)]
Decode the reason given on YouTube errors to avoid crashes (fixes issue #193)

14 years agoAllow the #! notation for YouTube URLs found in many links in their website
Ricardo Garcia [Sat, 14 Aug 2010 10:15:31 +0000 (12:15 +0200)]
Allow the #! notation for YouTube URLs found in many links in their website

14 years agoExtract the video extension from the media URL in metacafe.com
Ricardo Garcia [Thu, 12 Aug 2010 17:21:06 +0000 (19:21 +0200)]
Extract the video extension from the media URL in metacafe.com

14 years agoFix metacafe.com downloads for some videos (fixes issue #189)
Ricardo Garcia [Thu, 12 Aug 2010 17:15:26 +0000 (19:15 +0200)]
Fix metacafe.com downloads for some videos (fixes issue #189)

14 years agoUse unicode strings for several error messages that were missing the "u"
Ricardo Garcia [Thu, 12 Aug 2010 16:42:26 +0000 (18:42 +0200)]
Use unicode strings for several error messages that were missing the "u"

14 years agoAbort download in case of error writing file data to disk
Ricardo Garcia [Thu, 12 Aug 2010 16:41:29 +0000 (18:41 +0200)]
Abort download in case of error writing file data to disk

14 years agoImprove error message on invalid output template and abort execution
Ricardo Garcia [Thu, 12 Aug 2010 16:40:36 +0000 (18:40 +0200)]
Improve error message on invalid output template and abort execution

14 years agoFix typo in report_resuming_byte doc string (fixes issue #188)
Ricardo Garcia [Thu, 12 Aug 2010 16:28:34 +0000 (18:28 +0200)]
Fix typo in report_resuming_byte doc string (fixes issue #188)

14 years agoBump version number
Ricardo Garcia [Wed, 4 Aug 2010 17:09:57 +0000 (19:09 +0200)]
Bump version number

14 years agoUpdate user-agent string
Ricardo Garcia [Wed, 4 Aug 2010 17:09:10 +0000 (19:09 +0200)]
Update user-agent string

14 years agoFix metacafe.com code not working due to gdaKey again (fixes issue #185)
Ricardo Garcia [Wed, 4 Aug 2010 17:05:53 +0000 (19:05 +0200)]
Fix metacafe.com code not working due to gdaKey again (fixes issue #185)

14 years agoMerge Gavin van Lelyveld's patch for --playlist-start option
Ricardo Garcia [Wed, 4 Aug 2010 16:52:00 +0000 (18:52 +0200)]
Merge Gavin van Lelyveld's patch for --playlist-start option

14 years agoPut back -b option as a placeholder with a warning message
Ricardo Garcia [Sun, 1 Aug 2010 08:40:37 +0000 (10:40 +0200)]
Put back -b option as a placeholder with a warning message

14 years agoConsider the file downloaded if the size differs in less than 100 bytes (fixes issue...
Ricardo Garcia [Sat, 31 Jul 2010 23:15:43 +0000 (01:15 +0200)]
Consider the file downloaded if the size differs in less than 100 bytes (fixes issue #175)

14 years agoReorganize request code to make it a bit more robust
Ricardo Garcia [Tue, 27 Jul 2010 18:11:06 +0000 (20:11 +0200)]
Reorganize request code to make it a bit more robust

14 years agoProperly detect YouTube error messages to print them on screen (fixes issue #172)
Ricardo Garcia [Sun, 25 Jul 2010 09:55:49 +0000 (11:55 +0200)]
Properly detect YouTube error messages to print them on screen (fixes issue #172)

14 years agoBump version number
Ricardo Garcia [Sat, 24 Jul 2010 08:24:52 +0000 (10:24 +0200)]
Bump version number

14 years agoRestore support for the get_video method, fixing many issues
Ricardo Garcia [Sat, 24 Jul 2010 08:23:06 +0000 (10:23 +0200)]
Restore support for the get_video method, fixing many issues

14 years agoRestore proper support for webm formats (fixes issue #166)
Ricardo Garcia [Sat, 24 Jul 2010 07:47:01 +0000 (09:47 +0200)]
Restore proper support for webm formats (fixes issue #166)

14 years agoBump version number
Ricardo Garcia [Thu, 22 Jul 2010 18:32:05 +0000 (20:32 +0200)]
Bump version number

14 years agoUpdate user agent string
Ricardo Garcia [Thu, 22 Jul 2010 18:31:13 +0000 (20:31 +0200)]
Update user agent string

14 years agoPartially rewrite YouTube InfoExtractor after it stopped working
Ricardo Garcia [Thu, 22 Jul 2010 18:29:52 +0000 (20:29 +0200)]
Partially rewrite YouTube InfoExtractor after it stopped working

As part of the changes, the program now downloads the highest quality version
by default and uses fmt_url_map to decide which formats are really available.

14 years agoRemove some format command line options
Ricardo Garcia [Thu, 22 Jul 2010 18:28:20 +0000 (20:28 +0200)]
Remove some format command line options

14 years agoDo not check for self._downloader being None in several places
Ricardo Garcia [Thu, 22 Jul 2010 18:27:35 +0000 (20:27 +0200)]
Do not check for self._downloader being None in several places

14 years agoRename UnavailableFormatError to UnavailableVideoError
Ricardo Garcia [Thu, 22 Jul 2010 18:26:37 +0000 (20:26 +0200)]
Rename UnavailableFormatError to UnavailableVideoError

14 years agoUse www. instead of uk. in the language setting webpage for YouTube
Ricardo Garcia [Thu, 22 Jul 2010 18:24:59 +0000 (20:24 +0200)]
Use www. instead of uk. in the language setting webpage for YouTube

14 years agoBump version number
Ricardo Garcia [Thu, 15 Jul 2010 20:05:04 +0000 (22:05 +0200)]
Bump version number

14 years agoModify User-Agent and Accept headers
Ricardo Garcia [Tue, 13 Jul 2010 17:43:06 +0000 (19:43 +0200)]
Modify User-Agent and Accept headers

14 years agoImprove video ordinal assignment method (fixes issue #149)
Ricardo Garcia [Tue, 13 Jul 2010 17:37:07 +0000 (19:37 +0200)]
Improve video ordinal assignment method (fixes issue #149)

14 years agoAdd comment about weird .video extension for format 38
Ricardo Garcia [Tue, 13 Jul 2010 17:01:43 +0000 (19:01 +0200)]
Add comment about weird .video extension for format 38

14 years agoSupport youtu.be URLs (fixes issue #143)
Ricardo Garcia [Tue, 13 Jul 2010 17:01:13 +0000 (19:01 +0200)]
Support youtu.be URLs (fixes issue #143)

14 years agoSupport the watch_popup syntax in YouTube URLs
Ricardo Garcia [Tue, 13 Jul 2010 16:53:09 +0000 (18:53 +0200)]
Support the watch_popup syntax in YouTube URLs

14 years agoImprove swf player URL detection for RTMP (fixes issue #144)
Ricardo Garcia [Tue, 13 Jul 2010 16:22:34 +0000 (18:22 +0200)]
Improve swf player URL detection for RTMP (fixes issue #144)

14 years agoAdd a --max-quality flag to limit the highest quality (fixes issue #145)
Ricardo Garcia [Tue, 13 Jul 2010 16:20:02 +0000 (18:20 +0200)]
Add a --max-quality flag to limit the highest quality (fixes issue #145)

14 years agoAdd support for "original" format in YouTube (fixes issue #155)
Ricardo Garcia [Tue, 13 Jul 2010 16:01:58 +0000 (18:01 +0200)]
Add support for "original" format in YouTube (fixes issue #155)

14 years agoMake the Dailymotion uploader regexp more flexible because it fails sometimes
Ricardo Garcia [Tue, 6 Jul 2010 16:52:46 +0000 (18:52 +0200)]
Make the Dailymotion uploader regexp more flexible because it fails sometimes