aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/compat.py
AgeCommit message (Collapse)Author
2022-08-26[compat] Replace deficient ChainMap class in Py3.3 and earlierdirkf
* fix version check
2022-08-26[compat] Replace deficient ChainMap class in Py3.3 and earlierdirkf
2022-08-19[jsinterp] Clean up and pull yt-dlp styledirkf
* add compat_re_Pattern * improve compat_collections_chain_map * use class JS_Undefined * remove unused code
2022-08-14[jsinterp] Overhaul JSInterp to handle new YT players 4c3f79c5, 324f67b9 ↵dirkf
(#31170) * back-port from yt-dlp 8f53dc44a0cc1c2d98c35740b9293462c080f5d0, thanks pukkandan * also support void, improve <</>> precedence, improve expressions in comma-list * add more tests
2022-06-10[utils, etc] Kill child processes when yt-dl is killedpukkandan
* derived from PR #26592, closes #26592 Authored by: Unrud
2022-01-30Back-port JS interpreter upgrade from yt-dlp PR #1437df
2022-01-30Add compat_map/filter and use the formerdf
2021-04-06[compat] Use more conventional name for compat SimpleCookieSergey M․
2021-04-06[compat] flake8Sergey M․
2021-04-05[compat] add compat_SimpleCookie to __all__ arrayRemita Amine
2021-04-04[compat] add compat_SimpleCookieRemita Amine
2020-11-21Fix typos (#27084)Josh Soref
* spelling: authorization Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: brightcove Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: creation Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: exceeded Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: exception Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: extension Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: extracting Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: extraction Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: frontline Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: improve Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: length Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: listsubtitles Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: multimedia Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: obfuscated Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: partitioning Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: playlist Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: playlists Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: restriction Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: services Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: split Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: srmediathek Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: support Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: thumbnail Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: verification Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: whitespaces Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2020-05-05[compat] Introduce compat_cookiejar_CookieSergey M․
2020-02-08[update] Fix updating via symlinks (closes #23991)Sergey M․
2020-02-08[compat] Introduce compat_realpath (refs #23991)Sergey M․
2019-05-11Fix W504 and disable W503 (closes #20863)Sergey M․
2019-03-11Start moving to ytdl-orgSergey M․
2019-03-06[compat] Introduce compat_etree_ElementSergey M․
2018-06-18[compat] Introduce compat_integer_typesSergey M․
2018-02-02[compat] Mute some F821 under python 3Sergey M․
2018-01-28Add support for IronPythonSergey M․
2018-01-23[compat] Add compat_b64decodeSergey M․
2018-01-01[utils] Fix youtube-dl under PyPy3 on WindowsPhilipp Hagemeister
2017-09-23[mixcloud] Fix extraction (closes #14088)Tatsuyuki Ishi
2017-06-17[compat] Fix compat_shlex_quote on Windows (closes #5889, closes #10254)Sergey M․
2017-06-12[compat] Add compat_HTMLParseError to __all__Sergey M․
2017-06-12[compat] Introduce compat_HTMLParseErrorSergey M․
2017-04-12improve coding styleRemita Amine
2017-02-25[compat] Use try except for compat_numeric_typesSergey M․
2017-02-23[compat] Add compat_numeric_typesSergey M․
2017-02-01[compat] add compat_etree_register_namespace to __all__ listRemita Amine
2017-01-29[compat] add compat_etree_register_namespaceRemita Amine
2017-01-06Fix "invalid escape sequences" error on Python 3.6Yen Chi Hsuan
2016-11-17Update coding style after pycodestyle 2.1.0Yen Chi Hsuan
In pycodestyle 2.1.0, E305 was introduced, which requires two blank lines after top level declarations, too. See https://github.com/PyCQA/pycodestyle/issues/400 See also #10689; thanks @stepshal for first mentioning this issue and initial patches
2016-07-07[compat] Fix test_cmdline_umlauts on Python 2.6Yen Chi Hsuan
The original statement raises uncaught UnicodeWarning on Python 2.6
2016-07-07[compat] Fix compat_shlex_split for non-ASCII inputYen Chi Hsuan
Closes #9871
2016-06-10[compat] Import html5 entities correctlyYen Chi Hsuan
2016-06-10[compat] Add compat_html_entities_html5Yen Chi Hsuan
Used in tset_Vporn_1. Also Related to #9270
2016-06-05[compat] Add 'compat_input' to __all__Jaime Marquínez Ferrándiz
2016-06-05[compat] Add compat_inputSergey M․
2016-05-23[compat] Fix for XML with <!DOCTYPE> in Python 2.7 and 3.2Yen Chi Hsuan
Such XML documents cause DeprecationWarning if python is run with `-W error`
2016-05-10[compat] Rename shlex_quote and remove unused subprocess_check_outputYen Chi Hsuan
2016-05-10[compat] Rename struct_(un)pack to compat_struct_(un)packYen Chi Hsuan
2016-05-10[utils,compat] Move struct_pack and struct_unpack to compat.pyYen Chi Hsuan
2016-05-09[compat] Add compat_setenvSergey M․
2016-04-06[compat] Handle tuples properly in urlencode()Yen Chi Hsuan
Fixes #9055
2016-03-26[compat] Add compat_urllib_parse_urlencode and eliminate encode_dictSergey M․
encode_dict functionality has been improved and moved directly into compat_urllib_parse_urlencode All occurrences of compat_urllib_parse.urlencode throughout the codebase have been replaced by compat_urllib_parse_urlencode Closes #8974
2016-03-18[compat] Add compat_xpathSergey M․
2016-03-16Merge pull request #8092 from bpfoley/twitter-thumbnailremitamine
[utils] Add extract_attributes for extracting html tag attributes
2016-03-03[jython] Introduce compat_os_nameYen Chi Hsuan
os.name is always 'java' on Jython