]>
gitweb @ CieloNegro.org - youtube-dl.git/log
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.
Rogério Brito [Thu, 25 Nov 2010 06:24:45 +0000 (04:24 -0200)]
Preliminary downloading from vimeo
Ricardo Garcia [Fri, 28 Jan 2011 18:59:47 +0000 (19:59 +0100)]
Split some long lines
Ricardo Garcia [Fri, 28 Jan 2011 18:59:18 +0000 (19:59 +0100)]
Make the file timestamp feature optional
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.
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>
Lionel Elie Mamane [Tue, 25 Jan 2011 07:37:08 +0000 (08:37 +0100)]
Support for youtube.com/embed/XXXXX URLs (closes #63)
Ricardo Garcia [Fri, 21 Jan 2011 17:18:48 +0000 (18:18 +0100)]
Fix omission of Witold Baryluk as the Dailymotion InfoExtractor author
Ricardo Garcia [Fri, 21 Jan 2011 17:16:33 +0000 (18:16 +0100)]
Fix dailymotion support (closes #60)
Ricardo Garcia [Thu, 20 Jan 2011 19:36:42 +0000 (20:36 +0100)]
Improve addinfourl_wrapper for compatibility with older Python versions
Ricardo Garcia [Tue, 18 Jan 2011 19:52:37 +0000 (20:52 +0100)]
Wrap call to addinfourl for compatibility with 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
Ricardo Garcia [Wed, 12 Jan 2011 20:07:56 +0000 (21:07 +0100)]
Make the self-updating function a bit more robust
Ricardo Garcia [Wed, 12 Jan 2011 19:22:37 +0000 (20:22 +0100)]
Add support for embedded YouTube playist URLs (closes #54)
Ricardo Garcia [Wed, 12 Jan 2011 19:21:43 +0000 (20:21 +0100)]
Fix "unable to rename file" Windows error (closes #56)
Ricardo Garcia [Wed, 12 Jan 2011 19:20:37 +0000 (20:20 +0100)]
Add proper support for "gzip" and "deflate" encodings
Ricardo Garcia [Mon, 10 Jan 2011 11:54:14 +0000 (12:54 +0100)]
Fix bug in regular expression for youtu.be links
Ricardo Garcia [Fri, 7 Jan 2011 09:23:18 +0000 (10:23 +0100)]
Add --no-part option (closes #48)
Ricardo Garcia [Fri, 7 Jan 2011 09:22:01 +0000 (10:22 +0100)]
Remove trailing whitespace
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.
Ricardo Garcia [Mon, 3 Jan 2011 10:47:23 +0000 (11:47 +0100)]
Add --dump-user-agent option (patch provided by Benjamin Johnson)
Ricardo Garcia [Mon, 3 Jan 2011 10:22:49 +0000 (11:22 +0100)]
Print new line before a few error messages
Ricardo Garcia [Thu, 16 Dec 2010 06:09:58 +0000 (07:09 +0100)]
Request page compression by default, like Firefox does
Ricardo Garcia [Wed, 15 Dec 2010 20:42:11 +0000 (21:42 +0100)]
Take into account resume_len when calculating speed and ETA
Ricardo Garcia [Sun, 12 Dec 2010 18:21:09 +0000 (19:21 +0100)]
Fix erroneous "content too short" error message
Ricardo Garcia [Sat, 11 Dec 2010 10:35:28 +0000 (11:35 +0100)]
Remove deprecated -b option and nonworking -m option (closes #39)
Ricardo Garcia [Sat, 11 Dec 2010 10:34:10 +0000 (11:34 +0100)]
Stop attempting to use get_video and detect missing formats ourselves
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)
Ricardo Garcia [Thu, 9 Dec 2010 18:57:39 +0000 (19:57 +0100)]
Fix problem when requesting an existing format explicitly with -f
Ricardo Garcia [Thu, 9 Dec 2010 18:37:07 +0000 (19:37 +0100)]
Bump version number
Ricardo Garcia [Thu, 9 Dec 2010 18:33:04 +0000 (19:33 +0100)]
Improve temporary filename handling of special cases
Ricardo Garcia [Thu, 9 Dec 2010 18:22:32 +0000 (19:22 +0100)]
Fix YoutubeIE after recent YouTube changes (closes #34)
Ricardo Garcia [Wed, 8 Dec 2010 10:04:22 +0000 (11:04 +0100)]
Add Vasyl' Vavrychuk to the list of authors
Vasyl' Vavrychuk [Sun, 5 Dec 2010 19:09:14 +0000 (21:09 +0200)]
Implemented depositfiles.com support
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
Vasyl' Vavrychuk [Sun, 5 Dec 2010 18:48:22 +0000 (20:48 +0200)]
report_extraction was never called for GenericIE
Ricardo Garcia [Sat, 4 Dec 2010 09:38:53 +0000 (10:38 +0100)]
Use a temporary filename to download files
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.
Ricardo Garcia [Fri, 19 Nov 2010 18:41:09 +0000 (19:41 +0100)]
Bump version number
Ricardo Garcia [Fri, 19 Nov 2010 18:40:18 +0000 (19:40 +0100)]
Update User-Agent string
Ricardo Garcia [Fri, 19 Nov 2010 18:31:26 +0000 (19:31 +0100)]
Rework upload date mechanism after detecting problems in several tests
Ricardo Garcia [Fri, 19 Nov 2010 17:37:07 +0000 (18:37 +0100)]
Restore file permissions
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
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 "&has_verified=1" to the fetch of the HMTL page to
allow fetching of age-restricted videos.
Nevar Angelo [Wed, 17 Nov 2010 18:55:30 +0000 (20:55 +0200)]
Added 'uploaddate' output sequence for YoutubeIE.
Ricardo Garcia [Sat, 6 Nov 2010 21:13:59 +0000 (22:13 +0100)]
Minor help text correction
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.
Nevar Angelo [Sat, 6 Nov 2010 20:21:45 +0000 (22:21 +0200)]
Allow comments in batch file.
Ricardo Garcia [Thu, 4 Nov 2010 22:19:09 +0000 (23:19 +0100)]
Add playlist-end option (courtesy of Nevar Angelo)
Ricardo Garcia [Sun, 31 Oct 2010 14:46:58 +0000 (15:46 +0100)]
Modify autoupdate URLs to match the ones from github.com
Ricardo Garcia [Sun, 24 Oct 2010 15:35:47 +0000 (17:35 +0200)]
Bump version number
Ricardo Garcia [Sun, 24 Oct 2010 15:35:08 +0000 (17:35 +0200)]
Update User-Agent string
Ricardo Garcia [Sun, 24 Oct 2010 15:31:33 +0000 (17:31 +0200)]
Load cookies if the cookie file exists when starting the program
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)
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)
Ricardo Garcia [Sat, 23 Oct 2010 10:22:42 +0000 (12:22 +0200)]
Set stdout to binary mode under Windows (fixes issue #218)
Ricardo Garcia [Mon, 11 Oct 2010 09:21:28 +0000 (11:21 +0200)]
Support "https" in YouTube video URLs (fixes issue #215)
Ricardo Garcia [Sat, 9 Oct 2010 10:28:15 +0000 (12:28 +0200)]
Use HTTPS for the login URL (fixes issue #163)
Ricardo Garcia [Sun, 3 Oct 2010 09:11:59 +0000 (11:11 +0200)]
Bump version number
Ricardo Garcia [Sun, 3 Oct 2010 09:05:20 +0000 (11:05 +0200)]
Retry on any 5xx server error
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)
Ricardo Garcia [Sat, 11 Sep 2010 07:54:17 +0000 (09:54 +0200)]
Support the -nocookie suffix in youtube domain name (fixes issue #200)
Ricardo Garcia [Sat, 11 Sep 2010 07:52:25 +0000 (09:52 +0200)]
Do not print file name on warning message (fixes issue #197)
Ricardo Garcia [Sat, 11 Sep 2010 07:47:21 +0000 (09:47 +0200)]
Fix "unable to extract uploader nickname" error with Dailymotion
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)
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
Ricardo Garcia [Thu, 12 Aug 2010 17:21:06 +0000 (19:21 +0200)]
Extract the video extension from the media URL in metacafe.com
Ricardo Garcia [Thu, 12 Aug 2010 17:15:26 +0000 (19:15 +0200)]
Fix metacafe.com downloads for some videos (fixes issue #189)
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"
Ricardo Garcia [Thu, 12 Aug 2010 16:41:29 +0000 (18:41 +0200)]
Abort download in case of error writing file data to disk
Ricardo Garcia [Thu, 12 Aug 2010 16:40:36 +0000 (18:40 +0200)]
Improve error message on invalid output template and abort execution
Ricardo Garcia [Thu, 12 Aug 2010 16:28:34 +0000 (18:28 +0200)]
Fix typo in report_resuming_byte doc string (fixes issue #188)
Ricardo Garcia [Wed, 4 Aug 2010 17:09:57 +0000 (19:09 +0200)]
Bump version number
Ricardo Garcia [Wed, 4 Aug 2010 17:09:10 +0000 (19:09 +0200)]
Update user-agent string
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)
Ricardo Garcia [Wed, 4 Aug 2010 16:52:00 +0000 (18:52 +0200)]
Merge Gavin van Lelyveld's patch for --playlist-start option
Ricardo Garcia [Sun, 1 Aug 2010 08:40:37 +0000 (10:40 +0200)]
Put back -b option as a placeholder with a warning message
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)
Ricardo Garcia [Tue, 27 Jul 2010 18:11:06 +0000 (20:11 +0200)]
Reorganize request code to make it a bit more robust
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)
Ricardo Garcia [Sat, 24 Jul 2010 08:24:52 +0000 (10:24 +0200)]
Bump version number
Ricardo Garcia [Sat, 24 Jul 2010 08:23:06 +0000 (10:23 +0200)]
Restore support for the get_video method, fixing many issues
Ricardo Garcia [Sat, 24 Jul 2010 07:47:01 +0000 (09:47 +0200)]
Restore proper support for webm formats (fixes issue #166)
Ricardo Garcia [Thu, 22 Jul 2010 18:32:05 +0000 (20:32 +0200)]
Bump version number
Ricardo Garcia [Thu, 22 Jul 2010 18:31:13 +0000 (20:31 +0200)]
Update user agent string
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.
Ricardo Garcia [Thu, 22 Jul 2010 18:28:20 +0000 (20:28 +0200)]
Remove some format command line options
Ricardo Garcia [Thu, 22 Jul 2010 18:27:35 +0000 (20:27 +0200)]
Do not check for self._downloader being None in several places
Ricardo Garcia [Thu, 22 Jul 2010 18:26:37 +0000 (20:26 +0200)]
Rename UnavailableFormatError to UnavailableVideoError
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
Ricardo Garcia [Thu, 15 Jul 2010 20:05:04 +0000 (22:05 +0200)]
Bump version number
Ricardo Garcia [Tue, 13 Jul 2010 17:43:06 +0000 (19:43 +0200)]
Modify User-Agent and Accept headers
Ricardo Garcia [Tue, 13 Jul 2010 17:37:07 +0000 (19:37 +0200)]
Improve video ordinal assignment method (fixes issue #149)
Ricardo Garcia [Tue, 13 Jul 2010 17:01:43 +0000 (19:01 +0200)]
Add comment about weird .video extension for format 38
Ricardo Garcia [Tue, 13 Jul 2010 17:01:13 +0000 (19:01 +0200)]
Support youtu.be URLs (fixes issue #143)
Ricardo Garcia [Tue, 13 Jul 2010 16:53:09 +0000 (18:53 +0200)]
Support the watch_popup syntax in YouTube URLs
Ricardo Garcia [Tue, 13 Jul 2010 16:22:34 +0000 (18:22 +0200)]
Improve swf player URL detection for RTMP (fixes issue #144)
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)
Ricardo Garcia [Tue, 13 Jul 2010 16:01:58 +0000 (18:01 +0200)]
Add support for "original" format in YouTube (fixes issue #155)
Ricardo Garcia [Tue, 6 Jul 2010 16:52:46 +0000 (18:52 +0200)]
Make the Dailymotion uploader regexp more flexible because it fails sometimes