]> gitweb @ CieloNegro.org - youtube-dl.git/log
youtube-dl.git
13 years agoFix stderr print when ffmpeg fails
Idan Kamara [Fri, 25 Feb 2011 20:30:22 +0000 (22:30 +0200)]
Fix stderr print when ffmpeg fails

13 years agoBump version number
Ricardo Garcia [Fri, 25 Feb 2011 19:12:32 +0000 (20:12 +0100)]
Bump version number

13 years agoUpdate User-Agent string
Ricardo Garcia [Fri, 25 Feb 2011 19:11:53 +0000 (20:11 +0100)]
Update User-Agent string

13 years agoAdd an audio extracting PostProcessor using ffmpeg (closes #2)
Ricardo Garcia [Fri, 25 Feb 2011 18:06:58 +0000 (19:06 +0100)]
Add an audio extracting PostProcessor using ffmpeg (closes #2)

13 years agoFix date parsing for YouTube (patch by Drake Wyrm)
Ricardo Garcia [Fri, 25 Feb 2011 18:05:35 +0000 (19:05 +0100)]
Fix date parsing for YouTube (patch by Drake Wyrm)

13 years agoAdd Gergely Imreh to the author list
Ricardo Garcia [Sun, 20 Feb 2011 17:01:57 +0000 (18:01 +0100)]
Add Gergely Imreh to the author list

13 years agoFacebook info extractor
Gergely Imreh [Sun, 13 Feb 2011 13:26:58 +0000 (21:26 +0800)]
Facebook info extractor

This IE should be full-featured.

Public videos can be downloaded without login, e.g:
https://www.facebook.com/video/video.php?v=696729990595

Private videos need login, and subject to login rate limit of
a couple of tries / minute.

13 years agoFix possible missing parameter in playlist url extraction
Gergely Imreh [Sun, 13 Feb 2011 11:02:56 +0000 (19:02 +0800)]
Fix possible missing parameter in playlist url extraction

The "playlist_prefix" parameter was missing when parsing playlist urls
that match the recently added format, e.g.:
http://www.youtube.com/user/stanforduniversity#g/c/9D558D49CA734A02
For these URLs (basically, for every playlist type so far, except the
artist list) playlist_prefix has to be equal to "p" for correct
exctraction.

13 years agoSupport more common YouTube playlist URLs
Ricardo Garcia [Sat, 12 Feb 2011 19:19:20 +0000 (20:19 +0100)]
Support more common YouTube playlist URLs

13 years agoEnable artist playlists in YoutubePlaylistIE
Gergely Imreh [Mon, 31 Jan 2011 10:54:47 +0000 (18:54 +0800)]
Enable artist playlists in YoutubePlaylistIE

Artist playlist pages have different format compared to user playlists,
thus more format checking is needed to construct the correct URL.

From the artist playlist this method downloads all listed below the
"Videos by [Artist Name]" header, plus usually there's one more
video on the side, titled "Youtube Mix for [Artist Name]", which
has a link format that currently cannot be distinguished from the other
videos in the list.

13 years agoFix SyntaxError problem (oops)
Ricardo Garcia [Sun, 30 Jan 2011 12:03:15 +0000 (13:03 +0100)]
Fix SyntaxError problem (oops)

13 years agoUpdate User-Agent string
Ricardo Garcia [Sun, 30 Jan 2011 11:59:18 +0000 (12:59 +0100)]
Update User-Agent string

13 years agoBump version number
Ricardo Garcia [Sun, 30 Jan 2011 11:58:01 +0000 (12:58 +0100)]
Bump version number

13 years agoAdd YoutubeUserIE (code courtesy of Paweł Paprota)
Ricardo Garcia [Sat, 29 Jan 2011 10:55:20 +0000 (11:55 +0100)]
Add YoutubeUserIE (code courtesy of Paweł Paprota)

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