Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | [utils] Multiple changes to base_n() | Yen Chi Hsuan | 2016-02-27 | 1 | -6/+8 | |
| | | | | | | | | | | | | | | | | 1. Renamed to encode_base_n() 2. Allow tables longer than 62 characters 3. Raise ValueError instead of AssertionError for invalid input data 4. Return the first character in the table instead of '0' for number 0 5. Add tests | |||||
* | | [utils] Relaxing regex in decode_packed_codes for vidzi | Yen Chi Hsuan | 2016-02-26 | 1 | -1/+1 | |
| | | ||||||
* | | [utils] Move codes for handling eval() from iqiyi.py | Yen Chi Hsuan | 2016-02-26 | 1 | -0/+20 | |
| | | ||||||
* | | [utils] Merge base_n functions | Yen Chi Hsuan | 2016-02-26 | 1 | -9/+7 | |
| | | ||||||
* | | [utils] Add base36 for use in Vidzi | Yen Chi Hsuan | 2016-02-26 | 1 | -0/+4 | |
| | | ||||||
* | | [utils] Move base62 to utils | Yen Chi Hsuan | 2016-02-26 | 1 | -0/+14 | |
| | | ||||||
* | | [utils] Remove AM/PM from unified_strdate patterns | Sergey M․ | 2016-02-25 | 1 | -3/+3 | |
| | | ||||||
* | | [utils] Implement cache for OnDemandPagedList | Yen Chi Hsuan | 2016-02-23 | 1 | -2/+11 | |
| | | ||||||
* | | add more subtitles mime types to mimetype2ext and fix the platform subtitle ↵ | remitamine | 2016-02-20 | 1 | -0/+4 | |
|/ | | | | extraction | |||||
* | [utils] mimetype2ext: return 'm4a' for 'audio/mp4' (fixes #8620) | Jaime Marquínez Ferrándiz | 2016-02-20 | 1 | -0/+6 | |
| | | | | The youtube extractor was using 'mp4' for them, therefore filters like 'bestaudio[ext=m4a]' stopped working (94278f720272c5ad2cd5900f59f8e71f31d46633 broke it). | |||||
* | [utils] Add OHDave's RSA encryption function | Yen Chi Hsuan | 2016-02-20 | 1 | -0/+18 | |
| | ||||||
* | [refactor] Single quotes consistency | Sergey M․ | 2016-02-14 | 1 | -8/+8 | |
| | ||||||
* | [refactor] Do not specify redundant None as second argument in dict.get() | Sergey M․ | 2016-02-14 | 1 | -1/+1 | |
| | ||||||
* | [utils] Bump Firefox version in User-Agent | Sergey M․ | 2016-02-11 | 1 | -1/+1 | |
| | | | | Old version number causes Youtube not to serve some formats in ytplayer.config | |||||
* | [utils] Allow dot in strip_jsonp | Sergey M․ | 2016-02-07 | 1 | -1/+1 | |
| | ||||||
* | [utils] Add ability to control skipping false values in dict_get | Sergey M․ | 2016-02-07 | 1 | -3/+4 | |
| | ||||||
* | [utils] Add dict_get convenience method | Sergey M․ | 2016-02-07 | 1 | -0/+9 | |
| | ||||||
* | [utils] dfxp2srt: make TTMLPElementParser inherit from object | Jaime Marquínez Ferrándiz | 2016-02-02 | 1 | -1/+1 | |
| | | | | For consistency between python 2 and 3. | |||||
* | [utils] fix dfxp2srt text extraction(fixes #8055) | remitamine | 2016-01-28 | 1 | -11/+18 | |
| | ||||||
* | [utils] Reorder items in mimetype2ext alphabetically | Yen Chi Hsuan | 2016-01-25 | 1 | -3/+3 | |
| | ||||||
* | [utils] Add more items to mimetype2ext (#8293) | Yen Chi Hsuan | 2016-01-25 | 1 | -0/+2 | |
| | | | | These are used in Youtube formats | |||||
* | Revert "fix typos" | remitamine | 2016-01-10 | 1 | -1/+1 | |
| | | | | This reverts commit 36a0e46c39ea4f211dea9944177976e8f8364736. | |||||
* | fix typos | remitamine | 2016-01-10 | 1 | -1/+1 | |
| | ||||||
* | Fix typos | Jakub Wilk | 2016-01-10 | 1 | -2/+2 | |
| | | | | Closes #8200. | |||||
* | [utils] Extract known extensions for reuse | Sergey M․ | 2016-01-04 | 1 | -14/+17 | |
| | ||||||
* | [utils] Remove Content-encoding from headers after decompression | Yen Chi Hsuan | 2015-12-28 | 1 | -0/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With cn_verification_proxy, our http_response() is called twice, one from PerRequestProxyHandler.proxy_open() and another from normal YoutubeDL.urlopen(). As a result, for proxies honoring Accept-Encoding, the following bug occurs: $ youtube-dl -vs --cn-verification-proxy https://secure.uku.im:993 "test:letv" [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['-vs', '--cn-verification-proxy', 'https://secure.uku.im:993', 'test:letv'] [debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2015.12.23 [debug] Git HEAD: 97f18fa [debug] Python version 3.5.1 - Linux-4.3.3-1-ARCH-x86_64-with-arch-Arch-Linux [debug] exe versions: ffmpeg 2.8.4, ffprobe 2.8.4, rtmpdump 2.4 [debug] Proxy map: {} [TestURL] Test URL: http://www.letv.com/ptv/vplay/22005890.html [Letv] 22005890: Downloading webpage [Letv] 22005890: Downloading playJson data ERROR: Unable to download JSON metadata: Not a gzipped file (b'{"') (caused by OSError('Not a gzipped file (b\'{"\')',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. File "/home/yen/Executables/Multimedia/youtube-dl/youtube_dl/extractor/common.py", line 330, in _request_webpage return self._downloader.urlopen(url_or_request) File "/home/yen/Executables/Multimedia/youtube-dl/youtube_dl/YoutubeDL.py", line 1886, in urlopen return self._opener.open(req, timeout=self._socket_timeout) File "/usr/lib/python3.5/urllib/request.py", line 471, in open response = meth(req, response) File "/home/yen/Executables/Multimedia/youtube-dl/youtube_dl/utils.py", line 773, in http_response raise original_ioerror File "/home/yen/Executables/Multimedia/youtube-dl/youtube_dl/utils.py", line 761, in http_response uncompressed = io.BytesIO(gz.read()) File "/usr/lib/python3.5/gzip.py", line 274, in read return self._buffer.read(size) File "/usr/lib/python3.5/gzip.py", line 461, in read if not self._read_gzip_header(): File "/usr/lib/python3.5/gzip.py", line 409, in _read_gzip_header raise OSError('Not a gzipped file (%r)' % magic) | |||||
* | Rename error_to_str to error_to_compat_str | Sergey M․ | 2015-12-20 | 1 | -1/+1 | |
| | ||||||
* | [utils] Add encode_compat_str | Sergey M․ | 2015-12-20 | 1 | -0/+4 | |
| | ||||||
* | [utils] Add error_to_str | Sergey M․ | 2015-12-20 | 1 | -0/+9 | |
| | ||||||
* | [utils] Support alternative timestamp format in TTML | Yen Chi Hsuan | 2015-12-19 | 1 | -2/+2 | |
| | | | | Fixes #7608 | |||||
* | [utils] Fix TTML conversion | Yen Chi Hsuan | 2015-12-19 | 1 | -3/+8 | |
| | | | | Tolerate invalid timestamps (closes #7909) | |||||
* | [utils] Add remove_quotes | Sergey M․ | 2015-12-14 | 1 | -0/+9 | |
| | ||||||
* | [utils] Refactor handle_youtubedl_headers for future extension | Yen Chi Hsuan | 2015-11-29 | 1 | -4/+5 | |
| | ||||||
* | [utils] Correct docstring of YoutubeDLHandler | Yen Chi Hsuan | 2015-11-29 | 1 | -1/+1 | |
| | ||||||
* | [utils] Separate codes for handling Youtubedl-* headers | Yen Chi Hsuan | 2015-11-29 | 1 | -4/+11 | |
| | ||||||
* | Rename compat_urllib_request_Request to sanitized_Request and move to utils | Sergey M․ | 2015-11-23 | 1 | -0/+7 | |
| | ||||||
* | [utils] Check ext with trailing slash against the list of known extensions | Sergey M․ | 2015-11-22 | 1 | -1/+16 | |
| | ||||||
* | [utils] Improve determine_ext (Closes #7593) | Sergey M․ | 2015-11-22 | 1 | -1/+1 | |
| | ||||||
* | [utils] Improve encode_dict | Sergey M․ | 2015-11-21 | 1 | -1/+3 | |
| | ||||||
* | [utils] Style | Sergey M․ | 2015-11-16 | 1 | -1/+1 | |
| | ||||||
* | [utils] Skip invalid/non HTML entities (Closes #7518) | Sergey M․ | 2015-11-16 | 1 | -1/+5 | |
| | ||||||
* | [utils] unified_strdate: Return None if the date format can't be recognized ↵ | Jaime Marquínez Ferrándiz | 2015-11-02 | 1 | -1/+2 | |
| | | | | | | (fixes #7340) This issue was introduced with ae12bc3ebb4cb377c2b4337ec255e652b36f5143, it returned 'None'. | |||||
* | [utils:sanitize_path] Disallow trailing whitespace in path segment (Closes ↵ | Sergey M․ | 2015-11-02 | 1 | -1/+1 | |
| | | | | #7332) | |||||
* | Merge pull request #7296 from jaimeMF/xml_attrib_unicode | Sergey M | 2015-10-31 | 1 | -24/+2 | |
|\ | | | | | Use a wrapper around xml.etree.ElementTree.fromstring in python 2.x (… | |||||
| * | [compat] compat_etree_fromstring: also decode the text attribute | Jaime Marquínez Ferrándiz | 2015-10-26 | 1 | -23/+0 | |
| | | | | | | | | Deletes parse_xml from utils, because it also does it. | |||||
| * | Use a wrapper around xml.etree.ElementTree.fromstring in python 2.x (#7178) | Jaime Marquínez Ferrándiz | 2015-10-25 | 1 | -1/+2 | |
| | | | | | | | | Attributes aren't unicode objects, so they couldn't be directly used in info_dict fields (for example '--write-description' doesn't work with bytes). | |||||
* | | [utils] Make unified_strdate always return unicode string | Sergey M․ | 2015-10-31 | 1 | -1/+1 | |
| | | ||||||
* | | [utils] Support list of xpath in xpath_element | Sergey M․ | 2015-10-31 | 1 | -3/+12 | |
| | | ||||||
* | | [utils] Improve parse_iso8601 | Sergey M․ | 2015-10-28 | 1 | -4/+9 | |
|/ | ||||||
* | [utils:js_to_json] Fix bad escape in double quoted strings | Sergey M․ | 2015-10-20 | 1 | -2/+2 | |
| |