Commit Graph

569 Commits (0b65e5d40f9d6d9a25fd463a4ab0db95022c534e)

Author SHA1 Message Date
Ricardo Garcia 9bf386d74b Move the downloader return code to a class member
This makes it possible to initialize it with value zero and later let the
trouble() overwrite the value. It simplifies error treatment and paves the way
for the InfoExtracto objects to call process_info() themselves, which should
solve the issues with tor and some other problems.
Ricardo Garcia 2f4d18a9f7 Use getpreferredencoding() instead of getdefaultlocale()
This fixes issue  and is recommended after a bug report I made to the
Python team:

http://bugs.python.org/issue5815
Ricardo Garcia b0eddb2eb4 Update User-Agent string
Ricardo Garcia 9cee6d9035 Minor adjustments to closely match what a web browser does
Ricardo Garcia c8619e0163 Move the code to process an InfoExtractor result to its own method
dannycolligan 257453b92b Added cap if user requests ytsearch number over 1000 (with warning)
dannyc@omega fd9288c315 Changed ytsearchall to retrieve max 1000 results
Ricardo Garcia 1db4ff6054 Restore internal version number indicator
Ricardo Garcia 763826cf2c Establish version number
Ricardo Garcia af6a92f4c9 Fix issue
Ricardo Garcia f995f7127c Remove some extra whitespace
Ricardo Garcia e54930cf71 Switch to "INTERNAL" version again
Ricardo Garcia c6b311c524 Set version number for release
Ricardo Garcia 79e75f66c8 Remove --best-quality option and add proper support for high definition format
Ricardo Garcia d0a9affb46 Replace setter and getter with simple attribute access
Ricardo Garcia 76800042fd Replace version number while in progress
Ricardo Garcia 7ab2043c9c Bump version number
Ricardo Garcia cc10940385 Fix very wrong code for setting the language
It turned out that, despite the program working without apparent errors,
the code for setting the language was completely wrong. First, it didn't
run unless some form of authentication was performed. Second, I
misstyped _LANG_URL as _LOGIN_URL, so the language was not being set at
all! Amazing it still worked.
Ricardo Garcia 5121ef2071 Fix wrong indentation
Ricardo Garcia fd20984889 Bump version number
Ricardo Garcia 0beeff4b3e Add que -w or --no-overwrites option
Ricardo Garcia 64a6f26c5d Put Danny Colligan as an author in the script itself
Ricardo Garcia a9633f1457 Use quote_plus instead of manually replacing spaces by plus signs
Ricardo Garcia 25af2bce3a Include Danny Colligan's YouTube search InfoExtractor
Ricardo Garcia d1580ed990 Fix NameError
Ricardo Garcia ba72f8a5d1 Bump version and increase Firefox version number
Ricardo Garcia c6fd0bb806 Add -a (--batch-file) option
Ricardo Garcia 72ac78b8b0 Fix for YouTube internationalization changes
Ricardo Garcia 240b737ebd Bump version number
Ricardo Garcia 27d98b6e25 Fix TypeError in decode() method and unordered playlist URLs
Ricardo Garcia 9ca4851a00 Bump version number
Ricardo Garcia 1e9daf2a48 Make the YouTube login mechanism work across countries
Ricardo Garcia d853063955 Bump version number
Ricardo Garcia 2546e7679f Fix metacafe.com and UTF8 output filenames
Ricardo Garcia 0ddf38df18 Bump version string
Ricardo Garcia 65cd34c5d7 Add initial version of postprocessing framework
Ricardo Garcia 5352678576 Improve a couple of detection strings to avoid i18n-related bugs
Ricardo Garcia a7d06f400c Increase version number
Ricardo Garcia b1a1f8ea8f Improve error message regarding output templates and charsets
Ricardo Garcia 97accc0ece Simplify a statement
Ricardo Garcia 76a7f36400 Make the most prominent output strings Unicode and fix Unicode title bug
Ricardo Garcia 0c2dc87d9e Add YoutubePlaylistIE class
Ricardo Garcia 020f7150aa Add metacafe.com support and minor changse
Ricardo Garcia 3af1e17284 Fix directory creation not working with absolute paths
Ricardo Garcia acd3d84298 Add --rate-limit program option
Ricardo Garcia d7bc253bb8 Fix video format command line option parsing and set version number
Ricardo Garcia bafa5cd969 Convert direct uses of .to_stdout() into methods to ease inheritation
Ricardo Garcia 90663284b2 Add --mobile-version program option
Ricardo Garcia 2130d8f6a4 Make the downloader print the name of the destination file
Ricardo Garcia e5bf0f551b Add a couple of exceptions to avoid exiting from class methods
Ricardo Garcia 38acff0e77 Minor comment
Ricardo Garcia 1c5e23021e Improve program documentation
Ricardo Garcia 0086d1ec32 Add .trouble() method to downloader to ease tracing retcode
Ricardo Garcia bb681b88df Unify uppercase criteria in errors and trace return code
Ricardo Garcia 98a1fe038c Replace the directory separator in title
Ricardo Garcia e8e20c76f2 Fix not taking into account outs.outtmpl
Ricardo Garcia ae2e6e461c Remove useless comments
Ricardo Garcia 209e9e27e7 Add command line parse code
Ricardo Garcia f9f1e79879 Minor improvements and changes
Ricardo Garcia 05a84b35cc Add forceurl and forcetitle downloader options
Ricardo Garcia 7414bdf11d Update and fix User-Agent header
Ricardo Garcia f97c8db74e Improve some unicode regular expressions
Ricardo Garcia 22899cea59 Improve fixed template checks
Ricardo Garcia 14c300687e Detect malformed output template
Ricardo Garcia 7e5cab6730 Add .to_stderr() to downloaders
Ricardo Garcia b609fd549f Add support for the "simulate" option
Ricardo Garcia 9fcd8355e5 Correct a few formatting bugs and add .to_stdout() to downloader
Ricardo Garcia b46347267a Check the output name is not fixed when there are several videos to download
Ricardo Garcia 4fa74b5252 Create initial preview version of the new youtube-dl