Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-07-05 | [utils] Support attributes with no values in get_elements_by_attribute() | Yen Chi Hsuan | |
2017-06-17 | [utils] Use compat_shlex_quote in shell_quote | Sergey M․ | |
2017-06-12 | [utils] Handle HTMLParseError in extract_attributes (closes #13349) | Sergey M․ | |
2017-06-11 | [utils] Improve unified_timestamp | Sergey M․ | |
2017-05-27 | [utils] Drop an compatibility wrapper for Python < 2.6 | Yen Chi Hsuan | |
addinfourl.getcode is added since Python 2.6a1. As youtube-dl now requires 2.6+, this is no longer necessary. See https://github.com/python/cpython/commit/9b0d46db115c10767b240a0a64286214b50fe6ad | |||
2017-05-26 | [utils] Recognize more patterns in strip_jsonp() | Yen Chi Hsuan | |
Used in Youku Show pages | |||
2017-05-14 | [utils] Recognize more audio codecs (#13081) | Sergey M․ | |
2017-05-06 | [utils] Rename try_multipart_encode to _multipart_encode_impl | Yen Chi Hsuan | |
To state that this is an internal function and people should be careful when using it outside youtube-dl. | |||
2017-05-05 | [utils] Fix multipart_encode for Python < 3.5 | Yen Chi Hsuan | |
2017-05-04 | Merge branch 'master' into openload-phantomjs-method | Tithen-Firion | |
2017-05-04 | [cda] Implement birthday verification (closes #12789) | Yen Chi Hsuan | |
2017-04-30 | [utils] Improve unified_timestamp | Sergey M․ | |
Seen at http://zaq1.pl/video/xev0e | |||
2017-04-30 | [utils] add video/mp2t to mimetype2ext | Remita Amine | |
2017-04-29 | [phantomjs] Add required version checking | Tithen-Firion | |
2017-04-28 | [utils] Fix inconsistent output of clean_html | Tithen-Firion | |
`\s` in Python 2.x doesn't match unicode whitespace characters by default | |||
2017-04-25 | [phantomjs] add cookie support | Tithen-Firion | |
2017-04-25 | [openload] separate PhantomJS code from extractor | Tithen-Firion | |
2017-04-19 | [utils] add support for ttml styles | Remita Amine | |
2017-04-18 | [extractor/common] Add support multiple getters in try_get | Sergey M․ | |
2017-03-26 | [utils] Introduce expand_path | Sergey M․ | |
2017-03-06 | [utils] Process bytestrings in urljoin (closes #12369) | Sergey M․ | |
2017-03-01 | [utils] Carry long doc string | Sergey M․ | |
2017-02-28 | [utils] Add bytes_to_long() and long_to_bytes() | Yen Chi Hsuan | |
Used in daisuki.net (#4738) Both are adapted from public domain PyCrypto: https://github.com/dlitz/pycrypto/blob/master/lib/Crypto/Util/number.py | |||
2017-02-28 | [utils] Add pkcs1pad | Yen Chi Hsuan | |
Used in daisuki.net (#4738) | |||
2017-02-19 | Improve geo bypass mechanism | Sergey M․ | |
* Rename options to preffixly match with --geo-verification-proxy * Introduce _GEO_COUNTRIES for extractors * Implement faking IP right away for sites with known geo restriction | |||
2017-02-19 | [utils] Make random_ipv4 return unicode string | Sergey M․ | |
2017-02-19 | Add experimental geo restriction bypass mechanism | Sergey M․ | |
Based on faking X-Forwarded-For HTTP header | |||
2017-02-19 | [utils] Introduce YoutubeDLError base class for all youtube-dl exceptions | Pierre Mdawar | |
2017-02-15 | [utils] Add support for quoted string literals in --match-filter (closes ↵ | Sergey M․ | |
#8050, closes #12142, closes #12144) | |||
2017-02-11 | utils.py: Workaround TypeError with Python 2.7.13 in Windows | Ricardo Constantino | |
Fixes #11540 Tested with Windows Python 2.7.12 and 2.7.13. | |||
2017-02-11 | Introduce get_elements_by_class and get_elements_by_attribute utility functions | Thomas Christlieb | |
2017-02-03 | [utils] Improve comments processing in js_to_json (closes #11947) | Sergey M․ | |
2017-02-03 | [utils] Handle single-line comments in js_to_json | Michal Čihař | |
2017-01-26 | [utils] Improve parse_duration | Sergey M․ | |
2017-01-23 | [utils] Add another date format seen in NextTV | Yen Chi Hsuan | |
2017-01-12 | [utils] Add more date formats | Sergey M․ | |
2017-01-06 | Fix "invalid escape sequences" error on Python 3.6 | Yen Chi Hsuan | |
2016-12-17 | [utils] Improve urljoin | Sergey M․ | |
2016-12-13 | [utils] Add convenience urljoin | Sergey M․ | |
2016-12-12 | [utils] Add common user agents map | Sergey M․ | |
2016-11-02 | [utils] Introduce base_url | Sergey M․ | |
2016-10-31 | [utils] Fix --match-filter for int-like strings (closes #11082) | Sergey M․ | |
2016-10-22 | [utils] Clarify for redirecting STDIN in get_exe_version() | Yen Chi Hsuan | |
2016-10-22 | [get_exe_version] Do version probes with <&- | John Hawkinson | |
When doing version probes for ffmpeg, do the equivalent of calling it as: ffmpeg -version <&- Where <&- is shell syntax for closing stdin before calling the program. This is roughly equivalent to </dev/null without actually opening /dev/null. This prevents ffmpeg -version from hanging when run in the background. Fixes #955. The reason is that ffmpeg tries to manipulate stdin to set up terminal characteristic, and that causes the kernel to suspend the parent process (youtube-dl). Note that closing stdin is achieved by calling subprocess.Popen() with stdin set to subprocess.PIPE and without passing any input to Popen.communicate(). This is somewhat subtle. | |||
2016-10-19 | [utils] Expose PACKED_CODES_RE | Sergey M․ | |
2016-10-03 | Unify coding cookie | Déstin Reed | |
2016-10-02 | [utils] Fix xattr error handling | Yen Chi Hsuan | |
2016-10-01 | [utils] Support xattr as well as pyxattr | Yen Chi Hsuan | |
Closes #9054 There are two xattr packages in Python, pyxattr [1] and xattr [2]. They have different APIs. In old days pyxattr supports Linux only and xattr supports Linux, Mac, FreeBSD and Solaris, and pyxattr supports Linux only. Recently pyxattr adds support for Mac OS X. [3] An old version of [2] is shipped with Mac OS X. However, some Linux distributions have pyxattr only, for example PLD-Linux [4] and old Arch Linux. [5] As a result, supporting both is the way to go. [1] https://github.com/iustin/pyxattr [2] https://github.com/xattr/xattr [3] https://github.com/iustin/pyxattr/pull/9 [4] https://github.com/rg3/youtube-dl/issues/5498 [5] https://git.archlinux.org/svntogit/community.git/commit/?id=427c4c76401e386d865ccddea4fbfdc74df80492 https://git.archlinux.org/svntogit/community.git/commit/?id=59b40da7b69622a6761d364a8b07909e9cccaa56 python-xattr is added on 2016/06/29 while pyxattr is there for more than 6 years | |||
2016-09-29 | [utils] Lower priority for rare date formats and add tests | Sergey M․ | |
2016-09-29 | [vk] Fix date and view count extraction. | Kacper Michajłow | |