aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/utils.py
AgeCommit message (Collapse)Author
2018-01-28Add support for IronPythonSergey M․
2018-01-20[util] Improve scientific notation handling in js_to_json (closes #14789)Mike Fährmann
2018-01-01[utils] Fix youtube-dl under PyPy3 on WindowsPhilipp Hagemeister
2017-12-16[utils] Add another date format pattern (#14999)Sergey M․
2017-12-03[utils] add sami mimetype to mimetype2extRemita Amine
2017-11-27[utils] add hvc1 codec code to parse_codecsRemita Amine
2017-10-29[utils] Add support for zero years and months in parse_durationSergey M․
2017-10-06[utils] Use in OnDemandPagedList by defaultSergey M․
Not using cache results in redundant network I/O due to downloading the same pages while using --playlist-items n-m
2017-09-24Hide experimental phantomjs wrapperSergey M․
2017-09-17Fix flake8 issues after #14225Yen Chi Hsuan
2017-09-16[utils] Use bytes-like objects in dfxp2srtYen Chi Hsuan
This fixes handling of non-UTF8 TTML subtitles Closes #14191
2017-09-16Merge pull request #14225 from Tithen-Firion/openload-phantomjs-methodYen Chi Hsuan
Openload phantomjs method
2017-09-10[utils] Introduce bool_or_noneSergey M․
2017-08-19[utils] Fix unescapeHTML for misformed string like "&a"" (#13935)Yen Chi Hsuan
2017-08-09[utils] Skip missing params in cli_bool_option (closes #13865)Sergey M․
2017-08-03[phantomjs] add exe version to debug infoTithen-Firion
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_quoteSergey M․
2017-06-12[utils] Handle HTMLParseError in extract_attributes (closes #13349)Sergey M․
2017-06-11[utils] Improve unified_timestampSergey M․
2017-05-27[utils] Drop an compatibility wrapper for Python < 2.6Yen 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_implYen 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.5Yen Chi Hsuan
2017-05-04Merge branch 'master' into openload-phantomjs-methodTithen-Firion
2017-05-04[cda] Implement birthday verification (closes #12789)Yen Chi Hsuan
2017-04-30[utils] Improve unified_timestampSergey M․
Seen at http://zaq1.pl/video/xev0e
2017-04-30[utils] add video/mp2t to mimetype2extRemita Amine
2017-04-29[phantomjs] Add required version checkingTithen-Firion
2017-04-28[utils] Fix inconsistent output of clean_htmlTithen-Firion
`\s` in Python 2.x doesn't match unicode whitespace characters by default
2017-04-25[phantomjs] add cookie supportTithen-Firion
2017-04-25[openload] separate PhantomJS code from extractorTithen-Firion
2017-04-19[utils] add support for ttml stylesRemita Amine
2017-04-18[extractor/common] Add support multiple getters in try_getSergey M․
2017-03-26[utils] Introduce expand_pathSergey M․
2017-03-06[utils] Process bytestrings in urljoin (closes #12369)Sergey M․
2017-03-01[utils] Carry long doc stringSergey 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 pkcs1padYen Chi Hsuan
Used in daisuki.net (#4738)
2017-02-19Improve geo bypass mechanismSergey 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 stringSergey M․
2017-02-19Add experimental geo restriction bypass mechanismSergey M․
Based on faking X-Forwarded-For HTTP header
2017-02-19[utils] Introduce YoutubeDLError base class for all youtube-dl exceptionsPierre Mdawar
2017-02-15[utils] Add support for quoted string literals in --match-filter (closes ↵Sergey M․
#8050, closes #12142, closes #12144)
2017-02-11utils.py: Workaround TypeError with Python 2.7.13 in WindowsRicardo Constantino
Fixes #11540 Tested with Windows Python 2.7.12 and 2.7.13.
2017-02-11Introduce get_elements_by_class and get_elements_by_attribute utility functionsThomas 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_jsonMichal Čihař
2017-01-26[utils] Improve parse_durationSergey M․