Commit Graph

322 Commits (1c256f7047051bf351ed5aedb95d8e705685a06b)

Author SHA1 Message Date
Philipp Hagemeister 03f9daab34 Use io.BytesIO instead of StringIO
Philipp Hagemeister a8156c1d2e Python 3 version of HTMLParser
Philipp Hagemeister 3e669f369f Py3 compat for unichr and htmlentitydefs
Philipp Hagemeister da779b4924 Fall back to urllib instead of urllib2 for Python 3 urllib.parse
Philipp Hagemeister 89fb51dd2d Remove ur references for Python 3.3 support
Philipp Hagemeister 01ba00ca42 Prepare urllib references for 2/3 compatibility
Philipp Hagemeister e08bee320e Use except .. as everywhere ()
Philipp Hagemeister 96731798db Rename util.u to util.compat_str
Filippo Valsorda c63cc10ffa Merge remote-tracking branch 'origin/master' into IE_cleanup
Conflicts:
	youtube_dl/FileDownloader.py
Filippo Valsorda f462df021a Use None on missing required info_dict fields
Philipp Hagemeister 1a84d8675b Use u instead of str in Python 2
Philipp Hagemeister c806f804d8 Only encode when output stream is binary
Filippo Valsorda 03c5b0fbd4 IE._WORKING attribute in order to warn the users and skip the tests on broken IEs
Philipp Hagemeister 95649b3936 Replace long with int (see PEP 237)
Philipp Hagemeister 3aeb78ea4e Better formatting (PEP 8)
Philipp Hagemeister dd109dee8e Remove mentions of unicode
Philipp Hagemeister b514df2034 Clean up with the help of pep8
Philipp Hagemeister 0969bdd305 unify spacing
Philipp Hagemeister 1a9c655e3b Merge remote-tracking branch 'Asido/master'
Philipp Hagemeister f8d8b39bba Prepare 2012.11.29 release
Philipp Hagemeister dcd60025f8 Fix filename sanitation (Closes )
Filippo Valsorda 7e4674830e document info_dict['subtitles'] and info_dict['urlhandle']
Filippo Valsorda 9ce5d9ee75 make all IEs return 'upload_date' and 'uploader', even if only u'NA'
Filippo Valsorda b49e75ff9a info_dict['upload_date'] is documented in --output, IEs MUST specify it
Filippo Valsorda abe7a3ac2a info_dict['player_url'] is used only for rtmpdump, indicate it as optional in the info_dict
Filippo Valsorda 717b1f72ed default info_dict['format'] to info_dict['ext'] and make the YT one more verbose
Philipp Hagemeister 26396311b5 Add Christian Albrecht (Arte.tv IE) to authors
Philipp Hagemeister dffe658bac Remove exclamation mark in --restrict-filenames mode
Philipp Hagemeister 33d94a6c99 Merge remote-tracking branch 'alab1001101/master'
Philipp Hagemeister cc872b68a8 Actually merge
Philipp Hagemeister c9128b353d Bump version number to a numeric-only one to appease py2exe
Philipp Hagemeister e7c6f1a2dc Bump version number
Philipp Hagemeister 46cbda0be4 Minor filename encoding improvement in a common case
Philipp Hagemeister fa59f4b6a9 Merge remote-tracking branch 'chrisjrn/master'
Christopher Neugebauer 4a702f3819 Fixes the InfoExtractor for the Colbert Report.
Philipp Hagemeister 6bac102a4d Fix spacing in comedycentral IE
Philipp Hagemeister 958a22b7cf Merge remote-tracking branch 'chrisjrn/master'
Philipp Hagemeister 97cd3afc75 warn if %(stitle)s is being used
Philipp Hagemeister aa2a94ed81 Encode the entire filename
Philipp Hagemeister 56781d3d2e Switch back to underline for invalid characters, and make restricted ASCII-only
Christopher Neugebauer feb22fe5fe Fixed indentation error
Christopher Neugebauer d8dddb7c02 Removes extranous debugging info :)
Christopher Neugebauer 4408d996fb Adds format listing/selection support to the Comedy Central extractor.
Christopher Neugebauer 89af8e9d32 Removes extraneous debug message.
Christopher Neugebauer 36a9c0b5ff Points the ComedyCentral extractor at a CDN which works with more RTMPDump versions.
Filippo Valsorda d479e34043 release 2012.11.27
Philipp Hagemeister 240089e5df remove accidental remnants
Philipp Hagemeister 1c469a9480 New optoin --restrict-filenames
Philipp Hagemeister 92b91c1878 Use character instead of byte strings
Philipp Hagemeister 7ec1a206ea Remove longs (int does the right thing since Python 2.2, see PEP 237)
Philipp Hagemeister 51937c0869 Add some parentheses around print for
Philipp Hagemeister 6b50761222 Merge pull request from zejn/patch-1
Also enable album URLs on Vimeo.
Filippo Valsorda b6fab35b9f alias %(title)s to %(stitle)s
Filippo Valsorda baec15387c aliased --literal to --title
zejn 297d7fd9c0 Also enable album URLs on Vimeo.
Filippo Valsorda 5002aea371 release 2012.11.17
Filippo Valsorda 74033a662d Reworked Vimeo file selection logic (quality, codec) - closes
Filippo Valsorda 0526e4f55a Merge pull request from art-zhitnik/master
--(match|reject)-title utf8 fix
Art Zhitnik 39973a0236 Solve the bug of parsing titles with unicode (cyrillic)
Filippo Valsorda 5d40a470a2 quiet the HTMLParser debug info - closes
Filippo Valsorda 4cc391461a fix DailyMotion official users videos - closes - by @yvestan
Filippo Valsorda bf95333e5e fixed MetacafeIE (uploader nickname regex) - closes
Philipp Hagemeister b7a34316d2 -x for --extract-audio, one of the most popular options
Philipp Hagemeister 74e453bdea New --id option for the old default filename pattern
Filippo Valsorda 42cb53fcfa modified filename escaping to a "smarter" one
Filippo Valsorda fe4d68e196 slight change to Dailymotion uploader regex (fix)
Tailszefox f06eaa873e Fix audio bitrate quality for ffmpeg/avconv
Tailszefox 2262a32dd7 Added duration for YouTube videos
Philipp Hagemeister c6c0e23a32 Support raw playlist parameters (Closes )
Philipp Hagemeister 02b324a23d Restore 2.5 compat by activating with_statement future
Filippo Valsorda b8005afc20 handle YT urls with #/ redirects (closes )
Philipp Hagemeister 073522bc6c Don't use 2.7+ check_output
Philipp Hagemeister 9248cb0549 Merge pull request from gcmalloc/master
Test proposal
Filippo Valsorda 902b2a0a45 New IE: YouTube channels (closes )
gcmalloc 3eec021a1f removing unused global modifier
Filippo Valsorda 10daa766a1 support EDU YouTube playlists (closes )
Filippo Valsorda 7b107eea51 release 2012.10.09
Filippo Valsorda 0bfd0b598a Re-engineered Dailymotion qualities selection (thanks @knagano, sort of merges )
Filippo Valsorda fd873c69a4 Merge PR from 'kevinamadeus/master'
Add InfoExtractor for Google Plus video
(with fixes)
Philipp Hagemeister 27fec0e3bd Merge branch 'master' of github.com:rg3/youtube-dl
Philipp Hagemeister 65f934dc93 Correct detect_executables on Windows (Closes , )
Tailszefox 413575f7a5 Added uploaded date for Dailymotion
Philipp Hagemeister fcbc8c830e Merge branch 'master' of github.com:rg3/youtube-dl
Philipp Hagemeister f48ce130c7 Fix doc of extractor field
Filippo Valsorda 13e69f546c Merged, modified and compiled Dailymotion pull request by @Steap
Cyril Roelandt 63ec7b7479 DailymotionIE: There is not necessarily an underscore in a Dailymotion URL.
Cyril Roelandt 7b6d7001d8 DailymotionIE: some videos do not use the "hqURL", "sdURL", "ldURL" keywords. In this case, the "video_url" keyword should be looked for.
Filippo Valsorda 5c961d89df Merge pull request from FiloSottile/re_VERBOSE
Filippo Valsorda 3c4d6c9eba Not all Dailymotion videos have an hqURL, now downloads highest quality available
Filippo Valsorda 349e2e3e21 Fixed DailymotionIE, now downloads high-def mp4s, which might be too much (?)
Filippo Valsorda 551fa9dfbf adding new --output replacements. Thanks @danut007ro (closes )
Philipp Hagemeister 38612b4edc update default UA string (Closes )
Philipp Hagemeister 5a5523698d Add new field "extractor" to the info dictionary
Philipp Hagemeister 05a2c206be Merge pull request from danut007ro/master
Provider (youtube, etc) is now saved in info_dict
Philipp Hagemeister 8ca21983d8 Merge pull request from cryzed/master
Fixed YouTube playlist parsing
Philipp Hagemeister 5d534e2fe6 Improve option definitions
Philipp Hagemeister 234e230c87 Merge remote-tracking branch 'FiloSottille/vbr'
Conflicts:
	youtube-dl
	youtube-dl.exe
Philipp Hagemeister df09e5f9e1 Merge pull request from hdclark/master
Support for custom user agent
cryzed 3af2f7656c Fixed YouTube playlist parsing
Philipp Hagemeister 7f36e39676 Merge remote-tracking branch 'FiloSottille/supports'
Conflicts:
	youtube-dl
Philipp Hagemeister ebe3f89ea4 Merge xnxx.com Support (NSFW). Test URL (SFW): http://video.xnxx.com/video1443330/youtube-dl_testvid_a_and_9829_._and_amp_and_38_
Philipp Hagemeister b5de8af234 Release 2012.09.27
Danko Alexeyev 9ca667065e Add 'signature' to YouTube URLs, fixes
danut007ro ae16f68f4a Provider (youtube, etc) is now saved in info_dict, so template filename can be something like %(provider)s_%(id)s.%(ext)s
This can be useful because videos should also be identified by their providers since id's can be the same on multiple providers.
danut007ro 3cd98c7894 Removed provider (mistake) and add provider parameter to process_info
danut007ro 2866e68838 Merge branch 'master' of https://github.com/rg3/youtube-dl
danut007ro be8786a6a4 Every extractor also return it's name.
Philipp Hagemeister b0d4f95899 Merge pull request from rbrito/support-tube.majestyc.net
Support downloading Youtube videos via tube.majestyc.net
Kevin Kwan d443aca863 Add InfoExtractor for Google Plus video
Christian Albrecht f2ad10a97d Add arte.tv Info Extractor
hdclark ea46fe2dd4 Added support for custom user agents.
Added a few simple lines to add support for the flag "--user-agent" to pass a custom string to std_header['User-Agent'].
Filippo Valsorda 202e76cfb0 Made the YouTubeIE regex verbose/commented
Filippo Valsorda 3a68d7b467 tweaked the --audio-quality input validation/specification
Filippo Valsorda 795cc5059a Re-engineered XNXXIE to actually exit on ERRORs even with -i
Filippo Valsorda 5dc846fad0 Merge pull request from tempname/master
Filippo Valsorda d5c4c4c10e bugfix and standarize the youku.com support
Filippo Valsorda 1ac3e3315e Merge pull request from thesues/master
Filippo Valsorda 0e4dc2fc74 Merge 'rbrito/support-tube.majestyc.net' (PR ) with small fix
Filippo Valsorda 9bb8dc8e42 Python 2.6 compatibility fix. Thanks @Jamesc359 - closes
tempname 154b55dae3 added InfoExtractor for XNXX
tempname 6de7ef9b8d added InfoExtractor for XNXX
dongmao zhang 392105265c Merge branch 'master' of github.com:thesues/youtube-dl
Conflicts:
	youtube-dl
	youtube_dl/InfoExtractors.py
dongmao zhang 51661d8600 add www.youku.com support
dongmao zhang b5809a68bf merge
dongmao zhang 7733d455c8 fix 0a->0A bug
dongmao zhang 0a98b09bc2 youku default to download hd2 video
dongmao zhang 302efc19ea add youku support
Rogério Brito 55a1fa8a56 Support downloading Youtube videos via tube.majestyc.net
A user requested (in Debian's bug tracking system) that support for
tube.majestyc.net, a frontend for Youtube with accessibility functions
(and other support for other assistive technologies), be added.

This patch adds support for this.

Signed-off-by: Rogério Brito <rbrito@ime.usp.br>
Philipp Hagemeister a171dbfc27 Merge pull request from FiloSottile/blip
Blip.tv
Filippo Valsorda 11a141dec9 BlipTVUserIE fix
Filippo Valsorda 818282710b moved the User-Agent workaround to the BlipTV IE
Filippo Valsorda dee5d76923 changed YouTube closed captions URL; closes
Filippo Valsorda 363a4e1114 xvideos patch by @pocoimporta - closes
Philipp Hagemeister 3210735c49 Fix EscapistMagazine IE
Filippo Valsorda b24676ce88 changed --audio-quality behaviour to support both CBR and VBR
Filippo Valsorda cca4828ac9 fixed a logic bug in post-processing
Arvydas Sidorenko bae611f216 Simplified preferredencoding()
Not sure what is the point to use yield to return encoding, thus
it will simplify the whole function.

Signed-off-by: Arvydas Sidorenko <asido4@gmail.com>
Filippo Valsorda d4e16d3e97 YouTube playlist fix; closes and
Witchakorn Kamolpornwijit 5404179338 Change a number of subtitle sequence to begin with one (instead of zero) for ffmpeg,avcodec, and Matroska compatibility
Filippo Valsorda 7df97fb59f display a meaningful error message on rental videos ()
Filippo Valsorda 3187e42a23 Merge pull requests by jcarlosgarciasegovia
Juan Carlos Garcia Segovia f1927d71e4 Some blip.tv URLs use Unicode characters. urllib2 breaks when passing a Unicode string. it needs a UTF-8 byte buffer
Juan Carlos Garcia Segovia eeeb4daabc Information Extractor for blip.tv users
Juan Carlos Garcia Segovia 3c4fc580bb Use an User-Agent that will allow downloading from blip.tv fixes
Filippo Valsorda 505ed3088f normalize ffmpeg/avconv names printing
Filippo Valsorda 0b976545c7 check for avconv and ffmpeg, use as available; closes
chocolateboy 6ab92c8b62 don't corrupt stdout (-o -) in verbose mode
Filippo Valsorda f36cd07685 fixed a couple of Windows exe update bugs
Philipp Hagemeister 9ab3406ddb Fix Escapist IE
Filippo Valsorda 2c288bda42 reorganized the titles sanitizing: now title is the untouched title
and stitle is created in process_info() and is cross-filesystem sanitized by sanitize_filename();
closes