]> git.bitcoin.ninja Git - youtube-dl/log
youtube-dl
13 years agomerge gvalkov/optparse-refactor (minus stty)
Philipp Hagemeister [Wed, 24 Aug 2011 21:21:55 +0000 (23:21 +0200)]
merge gvalkov/optparse-refactor (minus stty)

13 years agomerge upstream
Philipp Hagemeister [Wed, 24 Aug 2011 21:04:10 +0000 (23:04 +0200)]
merge upstream

13 years agoUse `stty size` to find terminal width if we're on linux and COLUMNS is not exported
Georgi Valkov [Tue, 23 Aug 2011 14:03:28 +0000 (17:03 +0300)]
Use `stty size` to find terminal width if we're on linux and COLUMNS is not exported

13 years agoRefactor main function
Georgi Valkov [Tue, 23 Aug 2011 13:48:08 +0000 (16:48 +0300)]
Refactor main function

13 years agoSet help formatter width to terminal width (prevents wrapping)
Georgi Valkov [Tue, 23 Aug 2011 13:42:51 +0000 (16:42 +0300)]
Set help formatter width to terminal width (prevents wrapping)

13 years agoOption parsing refactoring ; Moved version string to __version__
Georgi Valkov [Tue, 23 Aug 2011 12:53:36 +0000 (15:53 +0300)]
Option parsing refactoring ; Moved version string to __version__

Brings terser option formatting to youtube-dl:
  from: -u USERNAME, --username USERNAME
  to:   -u, --username USERNAME

13 years agoMove update_self out of __main__ for clarity
Georgi Valkov [Tue, 23 Aug 2011 12:37:35 +0000 (15:37 +0300)]
Move update_self out of __main__ for clarity

13 years agoFix small indentation inconsistencies
Georgi Valkov [Tue, 23 Aug 2011 12:01:51 +0000 (15:01 +0300)]
Fix small indentation inconsistencies

13 years agoUse module metadata variables instead of comments
Georgi Valkov [Tue, 23 Aug 2011 11:58:22 +0000 (14:58 +0300)]
Use module metadata variables instead of comments

13 years agoAdd vim modeline
Georgi Valkov [Tue, 23 Aug 2011 11:45:26 +0000 (14:45 +0300)]
Add vim modeline

13 years agoFix blip.tv regular expression to not match blipXtv
Philipp Hagemeister [Thu, 18 Aug 2011 07:31:36 +0000 (09:31 +0200)]
Fix blip.tv regular expression to not match blipXtv

13 years agoFix youtu.be links (Closes #142)
Philipp Hagemeister [Sun, 7 Aug 2011 11:01:09 +0000 (13:01 +0200)]
Fix youtu.be links (Closes #142)

13 years agoUse parse_qs instead of homebrewn parsing
Philipp Hagemeister [Sat, 6 Aug 2011 22:29:25 +0000 (00:29 +0200)]
Use parse_qs instead of homebrewn parsing

13 years agoyoutube: Better error messages
Philipp Hagemeister [Sat, 6 Aug 2011 22:02:50 +0000 (00:02 +0200)]
youtube: Better error messages

13 years agoFix Python 2.4 compatibility
Philipp Hagemeister [Sat, 6 Aug 2011 10:16:07 +0000 (12:16 +0200)]
Fix Python 2.4 compatibility

13 years agoUse alternative imports for Python 2.4 (Closes #138)
Philipp Hagemeister [Sat, 6 Aug 2011 09:47:53 +0000 (11:47 +0200)]
Use alternative imports for Python 2.4 (Closes #138)

13 years agoRemove debugging information
Philipp Hagemeister [Sat, 6 Aug 2011 09:20:28 +0000 (11:20 +0200)]
Remove debugging information

13 years agoFix RTMP streams and ignore url-less entries
Philipp Hagemeister [Sat, 6 Aug 2011 09:05:57 +0000 (11:05 +0200)]
Fix RTMP streams and ignore url-less entries

13 years agoBump version number
Ricardo Garcia [Thu, 4 Aug 2011 17:15:14 +0000 (19:15 +0200)]
Bump version number

13 years agoUpdate User-Agent string
Ricardo Garcia [Thu, 4 Aug 2011 17:14:19 +0000 (19:14 +0200)]
Update User-Agent string

13 years agoFix YouTube downloads (code by Philipp Hagemeister)
Ricardo Garcia [Thu, 4 Aug 2011 17:13:02 +0000 (19:13 +0200)]
Fix YouTube downloads (code by Philipp Hagemeister)

13 years agoFix youtube downloads (Closes #135)
Philipp Hagemeister [Wed, 3 Aug 2011 22:04:55 +0000 (00:04 +0200)]
Fix youtube downloads (Closes #135)

13 years agoSuppport for youtube video streams (Mentioned in #108)
Philipp Hagemeister [Sun, 31 Jul 2011 16:09:53 +0000 (18:09 +0200)]
Suppport for youtube video streams (Mentioned in #108)

13 years agoRemoved inaccurate warning
Philipp Hagemeister [Fri, 22 Jul 2011 13:28:42 +0000 (15:28 +0200)]
Removed inaccurate warning

13 years agoBe lenient about download URLs (Closes #108)
Philipp Hagemeister [Mon, 18 Jul 2011 17:43:21 +0000 (19:43 +0200)]
Be lenient about download URLs (Closes #108)

13 years agoremove debugging code
Philipp Hagemeister [Sun, 10 Jul 2011 21:41:19 +0000 (23:41 +0200)]
remove debugging code

13 years ago+ --write-info-json
Philipp Hagemeister [Sun, 10 Jul 2011 19:39:36 +0000 (21:39 +0200)]
+ --write-info-json

13 years agoblip.tv support for python 2.5 with trivialjson
Philipp Hagemeister [Sun, 10 Jul 2011 15:31:54 +0000 (17:31 +0200)]
blip.tv support for python 2.5 with trivialjson

13 years agocall increment_downloads in blip.tv extractor
Philipp Hagemeister [Thu, 7 Jul 2011 12:10:25 +0000 (14:10 +0200)]
call increment_downloads in blip.tv extractor

13 years ago--writedescription option
Philipp Hagemeister [Thu, 7 Jul 2011 10:47:36 +0000 (12:47 +0200)]
--writedescription option

13 years agoFull youtube video descriptions, including special characters (2.6+, with fallback...
Philipp Hagemeister [Thu, 7 Jul 2011 10:12:20 +0000 (12:12 +0200)]
Full youtube video descriptions, including special characters (2.6+, with fallback for older Pythons)

13 years agoSupport for blip.tv/file URLs
Philipp Hagemeister [Sat, 25 Jun 2011 17:26:29 +0000 (19:26 +0200)]
Support for blip.tv/file URLs

13 years agoBasic blip.tv support
Philipp Hagemeister [Tue, 21 Jun 2011 20:24:58 +0000 (22:24 +0200)]
Basic blip.tv support

13 years agoBump version number
Ricardo Garcia [Tue, 29 Mar 2011 18:32:07 +0000 (20:32 +0200)]
Bump version number

13 years agoFix upload date regexp (closes #93)
Ricardo Garcia [Tue, 15 Mar 2011 19:12:10 +0000 (20:12 +0100)]
Fix upload date regexp (closes #93)

13 years agoSplit a couple of lines to make the code more readable
Ricardo Garcia [Tue, 15 Mar 2011 19:04:20 +0000 (20:04 +0100)]
Split a couple of lines to make the code more readable

13 years agoAvoid crash reported in issue #86
Ricardo Garcia [Tue, 15 Mar 2011 19:03:52 +0000 (20:03 +0100)]
Avoid crash reported in issue #86

13 years agoSupport youtube.com/e/ URLs (closes #88)
Ricardo Garcia [Mon, 28 Feb 2011 18:37:58 +0000 (19:37 +0100)]
Support youtube.com/e/ URLs (closes #88)

13 years agoBump version number
Ricardo Garcia [Fri, 25 Feb 2011 23:47:29 +0000 (00:47 +0100)]
Bump version number

13 years agoUse '--' to separate the file argument from the options when calling ffmpeg
Idan Kamara [Fri, 25 Feb 2011 21:19:13 +0000 (23:19 +0200)]
Use '--' to separate the file argument from the options when calling ffmpeg

This is to avoid a potential issue if the file name begins with a hyphen since ffmpeg will interpret it as an option

13 years agoBump version number
Ricardo Garcia [Fri, 25 Feb 2011 20:54:16 +0000 (21:54 +0100)]
Bump version number

13 years agoCatch possible exceptions when running ffprobe
Ricardo Garcia [Fri, 25 Feb 2011 20:53:26 +0000 (21:53 +0100)]
Catch possible exceptions when running ffprobe

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.

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

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

13 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

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

13 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

13 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.

13 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