Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Fix utils.py for PyPy on Windows | Grom PE | 2014-12-06 | 1 | -4/+4 | |
| | | | | | | | | | | | | | | | | | | | | The line ```python from __future__ import unicode_literals ``` introduced in commit [ecc0c5ee01f0e5bdd6af0c32cb5b4adcb2a2f78c](https://github.com/rg3/youtube-dl/commit/ecc0c5ee01f0e5bdd6af0c32cb5b4adcb2a2f78c) broke youtube-dl for PyPy on Windows, making it unable to locate WinAPI functions. Error: "TypeError: function name must be a string or integer" Adding "b" prefix to strings with WinAPI function names fixes it. | |||||
* | | Revert "[utils] Work around PyPy stupidity with Windows DLLs (Fixes #4392)" | Philipp Hagemeister | 2014-12-12 | 1 | -5/+4 | |
| | | | | | | | | This reverts commit 16040f46d64bad8dcc5f948288ef469dd787d3d3. | |||||
* | | [utils] Work around PyPy stupidity with Windows DLLs (Fixes #4392) | Philipp Hagemeister | 2014-12-12 | 1 | -4/+5 | |
| | | ||||||
* | | [cinchcast] Add new extractor (Fixes #4428) | Philipp Hagemeister | 2014-12-12 | 1 | -4/+13 | |
| | | ||||||
* | | [utils] Add "yesterday" as a date keyword | Philipp Hagemeister | 2014-12-11 | 1 | -1/+3 | |
| | | ||||||
* | | Fix PEP8 issue E713 | Jaime Marquínez Ferrándiz | 2014-12-09 | 1 | -1/+1 | |
|/ | ||||||
* | [ffmpeg] Improve version check and call it from hls (Fixes #4377) | Philipp Hagemeister | 2014-12-06 | 1 | -1/+1 | |
| | ||||||
* | [minhateca] Fix duration parsing | Philipp Hagemeister | 2014-12-04 | 1 | -4/+15 | |
| | ||||||
* | [minhateca] Add extractor (Fixes #4094) | Philipp Hagemeister | 2014-12-04 | 1 | -2/+5 | |
| | ||||||
* | [utils] remove useless u prefix | Philipp Hagemeister | 2014-11-26 | 1 | -1/+1 | |
| | ||||||
* | [xminus] Simplify and extend (#4302) | Philipp Hagemeister | 2014-11-25 | 1 | -0/+51 | |
| | ||||||
* | Fix all PEP8 issues except E501 | Philipp Hagemeister | 2014-11-23 | 1 | -3/+3 | |
| | ||||||
* | PEP8 applied | Jouke Waleson | 2014-11-23 | 1 | -6/+26 | |
| | ||||||
* | Provide guidance when called with a YouTube ID starting with a dash. | Philipp Hagemeister | 2014-11-23 | 1 | -0/+6 | |
| | | | | Reported at https://news.ycombinator.com/item?id=8648121 | |||||
* | [utils] Improve update on error message somewhat | Philipp Hagemeister | 2014-11-20 | 1 | -1/+15 | |
| | | | | We still may want to implement a bulletproof check for the current version, and a better place to add this message so that it works for all kind of other errors too. | |||||
* | Fix "ERROR: Cannot write metadata to JSON file" on Windows | Ivan Kozik | 2014-11-20 | 1 | -1/+8 | |
| | | | | Fixes #4246 | |||||
* | Fix UnicodeEncodeError with --write-info-json on Python 2.7 + Windows | Ivan Kozik | 2014-11-20 | 1 | -1/+1 | |
| | | | | Fixes #4244 | |||||
* | [cache] Fix writing to paths with unicode characters | Jaime Marquínez Ferrándiz | 2014-11-19 | 1 | -0/+1 | |
| | | | | | * Use "compat_getenv" * "write_json_file" now expects the filename to be a string | |||||
* | [utils] Remove stray u' | Philipp Hagemeister | 2014-11-17 | 1 | -31/+31 | |
| | ||||||
* | [eporner] Fix duration (Closes #4188) | Philipp Hagemeister | 2014-11-16 | 1 | -1/+6 | |
| | ||||||
* | [utils] Fix "write_json_file" for unicode names in python 2.x (fixes #4125) | Jaime Marquínez Ferrándiz | 2014-11-15 | 1 | -2/+14 | |
| | ||||||
* | [utils] Fix struct.pack call on very old Python versions (#4181) | Philipp Hagemeister | 2014-11-14 | 1 | -1/+1 | |
| | ||||||
* | [npo] Improve npo.nl (Fixes #4173) | Philipp Hagemeister | 2014-11-13 | 1 | -1/+2 | |
| | ||||||
* | [utils] Fix intlist_to_bytes in Python 2 (#4181) | Philipp Hagemeister | 2014-11-13 | 1 | -4/+1 | |
| | ||||||
* | [utils] Remove unused import | Philipp Hagemeister | 2014-11-05 | 1 | -1/+0 | |
| | ||||||
* | [utils] Use a regexp instead of HTMLParser for get_element_by_attribute | Philipp Hagemeister | 2014-11-04 | 1 | -105/+16 | |
| | ||||||
* | [utils] Remove unused get_meta_content function | Philipp Hagemeister | 2014-11-04 | 1 | -10/+2 | |
| | ||||||
* | Do not override stdlib html parser 'locatestarttagend' regex (fixes #4081) | Jaime Marquínez Ferrándiz | 2014-11-02 | 1 | -1/+3 | |
| | | | | | '<a href="foo" ><img src="bar" / ></a>' wouldn't be parsed right (the problem is '/ >', '/>' worked fine). We need to change it in python 2.6 (for example the description of youtube videos wouldn't be extracted). | |||||
* | [utils] Modernize | Philipp Hagemeister | 2014-11-02 | 1 | -1/+3 | |
| | ||||||
* | [compat] Fix imports | Philipp Hagemeister | 2014-11-02 | 1 | -1/+0 | |
| | ||||||
* | [util] Move compatibility functions out of util | Philipp Hagemeister | 2014-11-02 | 1 | -277/+13 | |
| | | | | | | | utils is large enough without these compatibility functions. Everything that is present in newer versions of Python (i.e. with dev Python it's just an import) goes into compat.py . Everything else (i.e. youtube-dl-specific helpers) goes into utils.py . | |||||
* | [ffmpeg] Move version detection to utils | Philipp Hagemeister | 2014-11-02 | 1 | -0/+19 | |
| | ||||||
* | [drtv] Allow fractional timestamps (Fixes #4059) | Philipp Hagemeister | 2014-10-29 | 1 | -2/+2 | |
| | ||||||
* | [ffmpeg] Warn if ffmpeg/avconv version is too old (Fixes #4026) | Philipp Hagemeister | 2014-10-26 | 1 | -0/+13 | |
| | ||||||
* | Merge branch 'compat-getenv-and-expanduser' of ↵ | Sergey M․ | 2014-10-26 | 1 | -4/+83 | |
|\ | | | | | | | | | | | | | | | https://github.com/dstftw/youtube-dl into dstftw-compat-getenv-and-expanduser Conflicts: test/test_utils.py youtube_dl/__init__.py | |||||
| * | [utils] Add posix expanduser implementation and clarify the original source | Sergey M․ | 2014-10-01 | 1 | -27/+61 | |
| | | ||||||
| * | [core] Decode environment variables with filesystem encoding (Fixes #3854, ↵ | Sergey M․ | 2014-09-30 | 1 | -4/+49 | |
| | | | | | | | | | | | | Fixes #3217, Fixes #2918) Introduces compat versions of os.getenv and os.path.expanduser | |||||
* | | [utils] Add additional format to unified_strdate | Naglis Jonaitis | 2014-10-04 | 1 | -0/+1 | |
| | | ||||||
* | | [utils] Default age_limit to None | Philipp Hagemeister | 2014-10-03 | 1 | -2/+2 | |
| | | | | | | | | If we can't parse it, it means we don't have any information, not that the content is unrestricted. | |||||
* | | [utils] Add parse_age_limit | Sergey M․ | 2014-10-03 | 1 | -0/+7 | |
| | | ||||||
* | | [utils] Improve and test js_to_json | Philipp Hagemeister | 2014-10-01 | 1 | -21/+16 | |
| | | ||||||
* | | [utils] Fix js_to_json | Philipp Hagemeister | 2014-10-01 | 1 | -1/+5 | |
|/ | ||||||
* | [arte] Fix upload date extraction | Philipp Hagemeister | 2014-09-29 | 1 | -0/+1 | |
| | ||||||
* | [utils:YoutubeDLHandler] Work around brain-dead Python 2.6 httplib | Philipp Hagemeister | 2014-09-29 | 1 | -0/+6 | |
| | | | | In 2.6, the httplib sends fragments! Remove those (fixes generic_26 on 2.6). | |||||
* | [vimeo:likes] Support large like lists (Fixes #3847) | Philipp Hagemeister | 2014-09-29 | 1 | -4/+35 | |
| | ||||||
* | Merge remote-tracking branch 'dstftw/escape-non-ascii-in-urls' | Philipp Hagemeister | 2014-09-15 | 1 | -0/+18 | |
|\ | | | | | | | | | Conflicts: test/test_utils.py | |||||
| * | [utils] Remove debug garbage | Sergey M․ | 2014-09-13 | 1 | -1/+1 | |
| | | ||||||
| * | [YoutubeDL/utils] Clarify rationale for URL escaping in comment, move escape ↵ | Sergey M․ | 2014-09-13 | 1 | -0/+18 | |
| | | | | | | | | routines to utils and add some tests | |||||
* | | [facebook] Fix support for untitled videos (Fixes #3757) | Philipp Hagemeister | 2014-09-15 | 1 | -0/+10 | |
| | | ||||||
* | | [utils] Apply 2.6 xpath craziness | Philipp Hagemeister | 2014-09-13 | 1 | -0/+3 | |
| | | | | | | | | This fixes ARD on 2.6 |