Commit Graph

184 Commits (91745595d355711194ad57da8630b28ebe011da8)

Author SHA1 Message Date
Jaime Marquínez Ferrándiz cbdbb76665 Use determine_ext when saving the thumbnail
Urls that contain a query produced filenames with wrong extensions
Jaime Marquínez Ferrándiz 6543f0dca5 BrightcoveIE: Use parse_qs to extract the fields of the query (closes )
Add a compat_urlparse to utils.
Philipp Hagemeister 5de3ece225 [brightcove] fix on Python 2.6
Philipp Hagemeister 59ae56fad5 Add helper function find_path_attr
Philipp Hagemeister 73e79f2a1b [3sat] Add support (Fixes )
Philipp Hagemeister 9a82b2389f Do not show bug report for errors that are to be expected (Closes )
Philipp Hagemeister a3c776203f Rewrote error message a bit to clarify
M.Yasoob Ullah Khalid 53f350c165 Changed the error message.
I changed the ExtractorError from ```msg = msg + u'; please report this issue on http://yt-dl.org/bug'``` to ```msg = msg + u'; please report this issue on http://yt-dl.org/bug with the complete output by running the same command with --verbose flag'```
Hopefully this will tell the users to report bugs with the complete output.
Filippo Valsorda 98bcd2834a improve generic and encrypted signature error messages
Filippo Valsorda d5979c5d55 do not ask the user to report network errors
Filippo Valsorda f5a290eed9 print "please report this issue on GitHub" on every ExtractorError
Filippo Valsorda 468e2e926b implement fallbacks and defaults in _search_regex
Filippo Valsorda b31756c18e Python 2 compat fixes for MyVideo.de rtmpdump downloads
Philipp Hagemeister f45c185fa9 Do not re-encode / to # if / is a platform separator, and correctly handle permission errors (Fixes )
Philipp Hagemeister ea6d901e51 Add --no-check-certificate ()
Philipp Hagemeister 4539dd30e6 twitch.tv chapters (): print out start and end time
Jaime Marquínez Ferrándiz 37254abc36 Allow to use relative dates in the format (now|today)[+-][0-9](day|week|month|year)(s)? (Closes )
Also fix DateRange not accepting ranges of one day.
Jaime Marquínez Ferrándiz bf50b0383e Fix some IEs that didn't return the uploade_date in the YYYYMMDD format
Create a function unified_strdate in utils.py to fix these problems
Jaime Marquínez Ferrándiz bd55852517 Allow to select videos to download by their upload dates (related )
Only absolute dates.
Filippo Valsorda e3700fc9e4 Merge pull request from rg3/retry
Exception stacking and test retry
Filippo Valsorda 7decf8951c fix FunnyOrDieIE, MyVideoIE, TEDIE
Filippo Valsorda 898280a056 use sys.stdout.buffer only on Python3
Chirantan Ekbote 1ee9778405 Use sys.stdout.buffer instead of sys.stdout
sys.stdout defaults to text mode, we need to use the underlying buffer
instead when writing binary data.

Signed-off-by: Chirantan Ekbote <chirantan.ekbote@gmail.com>
Filippo Valsorda 8cc83b8dbe Bubble up all the stack of exceptions and retry download tests on timeout errors
Philipp Hagemeister 8271226a55 Fix --match-title and --reject-title decoding (Closes )
Philipp Hagemeister 3b024e17af Work around buggy HTML Parser in Python < 2.7.3 (Closes )
Philipp Hagemeister 6df40dcbe0 Guard against sys.getfilesystemencoding() == None ()
Philipp Hagemeister 335959e778 Correct Blip.tv on 2.6, where HTTP headers are case-sensitive (wtf?)
Philipp Hagemeister 3446dfb7cb Proper support for changing User-Agents from IEs
Philipp Hagemeister 7851b37993 --recode-video option (Closes )
Philipp Hagemeister 01951dda7a Make ExtractorError usable for other causes
Philipp Hagemeister 1c256f7047 ExtractorError for errors during extraction
Filippo Valsorda d5ed35b664 moved updating code to update.py
Filippo Valsorda f427df17ab some fixes, pulled the codename from the code
Filippo Valsorda cb6ff87fbb The new updates system, relies on gh-pages, secured by RSA, uses external web servers
Filippo Valsorda 6b3aef80ce better Vimeo tests; fixed a couple of VimeoIE fields
Filippo Valsorda 056d857571 refactor YouTube subtitles code, it was ugly (my bad)
Nick Daniels 43e8fafd49 Refactor IDParser to search for elements by any attribute not just ID
Philipp Hagemeister f4bfd65ff2 Correct JSON writing (Closes )
Philipp Hagemeister 5910e210f4 Fix --extract-audio on Python 3
Philipp Hagemeister 0f8d03f81c Let YoutubeDLHandler (transparent gzip) handle HTTPS URLs as well (Needed for )
Philipp Hagemeister 796173d08b Keep video IDs verbatim if possible (Closes )
Philipp Hagemeister 627dcfff39 Restrict more characters (Closes )
Philipp Hagemeister 799c076384 collegehumor: able to download a single f4f file (not yet playable)
Philipp Hagemeister 59ae15a507 Convert all tabs to 4 spaces (PEP8)
Philipp Hagemeister 40b35b4aa6 hack for apparently broken parse_qs in python2
Philipp Hagemeister 0f00efed4c Woooohooo! python3 youtube_dl BaW_jenozKc -t works!
Philipp Hagemeister e6137fd61d Remove superfluous encodings
Philipp Hagemeister 8cd10ac4ef Fix printing title etc.
Philipp Hagemeister 5bd9cc7a6a typo
Philipp Hagemeister 73dce4b2e4 Import from the correct module
Philipp Hagemeister 9f37a95941 Py2/3 parse_qs compatibility
Philipp Hagemeister 348d0a7a18 Py2/3 compatibility for http.client
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
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 dffe658bac Remove exclamation mark in --restrict-filenames mode
Philipp Hagemeister 46cbda0be4 Minor filename encoding improvement in a common case
Philipp Hagemeister 56781d3d2e Switch back to underline for invalid characters, and make restricted ASCII-only
Philipp Hagemeister 240089e5df remove accidental remnants
Philipp Hagemeister 1c469a9480 New optoin --restrict-filenames
Philipp Hagemeister 92b91c1878 Use character instead of byte strings
Philipp Hagemeister 51937c0869 Add some parentheses around print for
Filippo Valsorda 5d40a470a2 quiet the HTMLParser debug info - closes
Filippo Valsorda 42cb53fcfa modified filename escaping to a "smarter" one
Philipp Hagemeister 38612b4edc update default UA string (Closes )
Filippo Valsorda 9bb8dc8e42 Python 2.6 compatibility fix. Thanks @Jamesc359 - closes
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>
chocolateboy 6ab92c8b62 don't corrupt stdout (-o -) in verbose mode
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 
Filippo Valsorda 0b8c922da9 Introduced Trouble(Exception) for more elegant non-fatal errors handling
Filippo Valsorda 921a145592 dropped the support for Python 2.5
let's elaborate the decision: Python 2.5 is a 6 years old release
and "under the current release policy, no security issues in Python
2.5 will be fixed anymore" (!!); also, it doesn't support the new
zipfile distribution format.
Filippo Valsorda 9beb5af82e some HTMLParser bugfixes
Filippo Valsorda 9e6dd23876 merged unescapeHTML branch; removed lxml dependency
Filippo Valsorda - Campagna d11d05d07a better naming for the sub-modules