youtube-dl
13 years agoGive preference to WebM formats.
Rogério Brito [Tue, 23 Nov 2010 23:20:26 +0000 (21:20 -0200)]
Give preference to WebM formats.

This patch gives preference to formats that are Free.

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 "&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.

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

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

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

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

13 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

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

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

13 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

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

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

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

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

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

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

13 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

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

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

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

13 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

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

13 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

13 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

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

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

13 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

13 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

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

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

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

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

13 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

13 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

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

13 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

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

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

13 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

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

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

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

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

13 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

13 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

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

13 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  instead of uk. in the language setting webpage for YouTube

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

13 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

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

13 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

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

13 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

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

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

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

13 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

13 years agoRemove unused methods from the Dailymotion InfoExtractor
Ricardo Garcia [Tue, 6 Jul 2010 16:51:45 +0000 (18:51 +0200)]
Remove unused methods from the Dailymotion InfoExtractor

13 years agoRemove dead disclaimer/confirmation code.
Witold Baryluk [Fri, 2 Jul 2010 00:00:14 +0000 (02:00 +0200)]
Remove dead disclaimer/confirmation code.

I do knot know how to perform age confirmation, so just
removeing it for the time we will know how to do this.

13 years agoAdd support for the Dailymotion
Witold Baryluk [Thu, 1 Jul 2010 23:53:47 +0000 (01:53 +0200)]
Add support for the Dailymotion

Based slightly (idea and one regular expression) on the old anonymous
dailymotion-dl.pl, but with fixes (more robust regular expression,
extracting author, support for domains other than .com). Simpler
due to the fact that youtube-dl provides all needed functionalities.

13 years agoInclude format 43 in best quality list (fixes issue #150)
Ricardo Garcia [Tue, 29 Jun 2010 20:38:51 +0000 (22:38 +0200)]
Include format 43 in best quality list (fixes issue #150)

13 years agoImprove some metavar names
Ricardo Garcia [Tue, 29 Jun 2010 09:53:13 +0000 (11:53 +0200)]
Improve some metavar names

13 years agoForbid forward slash in win32 file names (fixes issue #147)
Ricardo Garcia [Tue, 29 Jun 2010 09:10:12 +0000 (11:10 +0200)]
Forbid forward slash in win32 file names (fixes issue #147)

13 years agoBump version number
Ricardo Garcia [Sun, 6 Jun 2010 16:13:49 +0000 (18:13 +0200)]
Bump version number

13 years agoAdd webm extension to formats 43 and 45 (fixes issue #139)
Ricardo Garcia [Sun, 30 May 2010 17:46:08 +0000 (19:46 +0200)]
Add webm extension to formats 43 and 45 (fixes issue #139)

13 years agoFix for all-formats exception by Valentin Hilbig
Ricardo Garcia [Sun, 30 May 2010 15:50:56 +0000 (17:50 +0200)]
Fix for all-formats exception by Valentin Hilbig

13 years agoAdd a number of retries with tweaked patch, originally from Neil Channen
Ricardo Garcia [Sun, 30 May 2010 16:34:56 +0000 (18:34 +0200)]
Add a number of retries with tweaked patch, originally from Neil Channen

13 years agoAdd player signature verification to rtmpdump support (fixes issue #63)
Ricardo Garcia [Sun, 30 May 2010 17:49:51 +0000 (19:49 +0200)]
Add player signature verification to rtmpdump support (fixes issue #63)

13 years agoMake -a understand dash means stdin
Ricardo Garcia [Fri, 21 May 2010 19:35:34 +0000 (21:35 +0200)]
Make -a understand dash means stdin

13 years agoAlso try no "el" option in get_video_info (fixes issue #130)
Ricardo Garcia [Fri, 21 May 2010 19:24:37 +0000 (21:24 +0200)]
Also try no "el" option in get_video_info (fixes issue #130)

13 years agoIncrement number of downloads when the file has already been fully downloaded
Ricardo Garcia [Mon, 19 Apr 2010 17:25:47 +0000 (19:25 +0200)]
Increment number of downloads when the file has already been fully downloaded

13 years agoPrint EOL before "unable to write data" error
Ricardo Garcia [Sat, 17 Apr 2010 16:57:51 +0000 (18:57 +0200)]
Print EOL before "unable to write data" error

13 years agoDetect errors in video data writes
Ricardo Garcia [Sat, 17 Apr 2010 16:49:56 +0000 (18:49 +0200)]
Detect errors in video data writes

13 years agoMake "all-formats" and "best-quality" download the version without specific format too
Ricardo Garcia [Sat, 17 Apr 2010 15:54:37 +0000 (17:54 +0200)]
Make "all-formats" and "best-quality" download the version without specific format too

13 years agoMerge changes by obeythepenguin
Ricardo Garcia [Sun, 4 Apr 2010 15:57:59 +0000 (17:57 +0200)]
Merge changes by obeythepenguin

13 years agoBump version number
Ricardo Garcia [Sun, 4 Apr 2010 11:11:20 +0000 (13:11 +0200)]
Bump version number

13 years agoAlso try el=vevo on YouTube if everything else fails (fixes issue #115)
Ricardo Garcia [Sat, 3 Apr 2010 15:25:13 +0000 (17:25 +0200)]
Also try el=vevo on YouTube if everything else fails (fixes issue #115)

13 years agoBump version number
Ricardo Garcia [Sat, 3 Apr 2010 07:58:16 +0000 (09:58 +0200)]
Bump version number

13 years agoAdd the "ord" template parameter (fixes issue #101)
Ricardo Garcia [Sat, 3 Apr 2010 07:54:36 +0000 (09:54 +0200)]
Add the "ord" template parameter (fixes issue #101)

13 years agoSupport new playlist style URL (fixes issue #114)
Ricardo Garcia [Sat, 3 Apr 2010 07:45:45 +0000 (09:45 +0200)]
Support new playlist style URL (fixes issue #114)

13 years agoChange method to detect end of playlist (fixes issue #113)
Ricardo Garcia [Fri, 2 Apr 2010 17:51:54 +0000 (19:51 +0200)]
Change method to detect end of playlist (fixes issue #113)

13 years agoBump version number
Ricardo Garcia [Fri, 2 Apr 2010 15:14:24 +0000 (17:14 +0200)]
Bump version number

13 years agoTry el=detailpage if el=embedded fails for YouTube
Ricardo Garcia [Fri, 2 Apr 2010 15:13:40 +0000 (17:13 +0200)]
Try el=detailpage if el=embedded fails for YouTube

13 years agoAdd Yahoo! Video InfoExtractor, merged from "obeythepenguin"
Ricardo Garcia [Thu, 1 Apr 2010 18:55:43 +0000 (20:55 +0200)]
Add Yahoo! Video InfoExtractor, merged from "obeythepenguin"

13 years agoRequest video info webpage using "embedded" instead of "detailpage"
Ricardo Garcia [Thu, 1 Apr 2010 18:46:00 +0000 (20:46 +0200)]
Request video info webpage using "embedded" instead of "detailpage"

In the request for get_video_info, use el=embedded instead of el=detailpage, as
if the request was coming from an embedded video player instead of the video
webpage. This created problems for some videos, with YouTube replying with
"Invalid parameters". This fixes issue #109 and fixes issue #110.

13 years agoSolve minor aesthetical problem in rtmpdump error messages
Ricardo Garcia [Tue, 30 Mar 2010 09:50:57 +0000 (11:50 +0200)]
Solve minor aesthetical problem in rtmpdump error messages

13 years agoAdded --all-format option from tweaked patch (fixes issue #102)
Ricardo Garcia [Fri, 19 Mar 2010 17:15:43 +0000 (18:15 +0100)]
Added --all-format option from tweaked patch (fixes issue #102)

13 years agoMake the "-" output file name equivalent to /dev/stdout (fixes issue #103)
Ricardo Garcia [Fri, 19 Mar 2010 16:51:20 +0000 (17:51 +0100)]
Make the "-" output file name equivalent to /dev/stdout (fixes issue #103)

13 years agoBump version number
Ricardo Garcia [Tue, 16 Mar 2010 20:31:53 +0000 (21:31 +0100)]
Bump version number

13 years agoDo not use the final URL for -g
Ricardo Garcia [Thu, 11 Mar 2010 21:56:47 +0000 (22:56 +0100)]
Do not use the final URL for -g

13 years agoBump version number
Ricardo Garcia [Sun, 7 Mar 2010 10:25:30 +0000 (11:25 +0100)]
Bump version number

13 years agoAdd --no-progress option (fixes issue #98)
Ricardo Garcia [Sun, 7 Mar 2010 10:24:22 +0000 (11:24 +0100)]
Add --no-progress option (fixes issue #98)

13 years agoGive preference to format 34 before format 5 in quality list
Ricardo Garcia [Sun, 28 Feb 2010 22:49:52 +0000 (23:49 +0100)]
Give preference to format 34 before format 5 in quality list

13 years agoDo not error out on problems printing the file name
Ricardo Garcia [Sun, 28 Feb 2010 22:49:14 +0000 (23:49 +0100)]
Do not error out on problems printing the file name