Commit Graph

107 Commits (98b0cf1cd05c493eae0f37aaa599d25d2848c0b0)

Author SHA1 Message Date
dirkf b7c25959f0
[compat] Unify unicode/str compat and move up 2 years ago
dirkf f102e3dc4e
[compat] Add compat_casefold and compat_re_Match, for traverse_obj() port 2 years ago
dirkf ed5c44e7b7 [compat] Replace deficient ChainMap class in Py3.3 and earlier
* fix version check
2 years ago
dirkf 0f6422590e [compat] Replace deficient ChainMap class in Py3.3 and earlier 2 years ago
dirkf 46b8ae2f52 [jsinterp] Clean up and pull yt-dlp style
* add compat_re_Pattern
* improve compat_collections_chain_map
* use class JS_Undefined
* remove unused code
2 years ago
dirkf d231b56717
[jsinterp] Overhaul JSInterp to handle new YT players 4c3f79c5, 324f67b9 (#31170)
* back-port from yt-dlp 8f53dc44a0cc1c2d98c35740b9293462c080f5d0, thanks pukkandan
* also support void, improve <</>> precedence, improve expressions in comma-list
* add more tests
2 years ago
pukkandan 0700fde640 [utils, etc] Kill child processes when yt-dl is killed
* derived from PR #26592, closes #26592

Authored by: Unrud
2 years ago
df 96f87aaa3b Back-port JS interpreter upgrade from yt-dlp PR #1437 3 years ago
df 5f5de51a49 Add compat_map/filter and use the former 3 years ago
Sergey M․ 70d0d4f9be
[compat] Use more conventional name for compat SimpleCookie 4 years ago
Sergey M․ 6b315d96bc
[compat] flake8 4 years ago
Remita Amine 760c911299 [compat] add compat_SimpleCookie to __all__ array 4 years ago
Remita Amine 162bf9e10a [compat] add compat_SimpleCookie 4 years ago
Josh Soref 71ddc222ad
Fix typos (#27084)
* 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>
4 years ago
Sergey M․ 6d874fee2a
[compat] Introduce compat_cookiejar_Cookie 5 years ago
Sergey M․ bfe2b8cf2a
[update] Fix updating via symlinks (closes #23991) 5 years ago
Sergey M․ 82fea5b42e
[compat] Introduce compat_realpath (refs #23991) 5 years ago
Sergey M․ 3089bc748c
Fix W504 and disable W503 (closes #20863) 6 years ago
Sergey M․ 067aa17edf
Start moving to ytdl-org 6 years ago
Sergey M․ 399f76870d
[compat] Introduce compat_etree_Element 6 years ago
Sergey M․ 075a13d3e9
[compat] Introduce compat_integer_types 7 years ago
Sergey M․ 9a340af37e
[compat] Mute some F821 under python 3 7 years ago
Sergey M․ 65220c3bd6
Add support for IronPython 7 years ago
Sergey M․ f206126df0
[compat] Add compat_b64decode 7 years ago
Philipp Hagemeister d7cd9a9e84
[utils] Fix youtube-dl under PyPy3 on Windows 7 years ago
Tatsuyuki Ishi 2384f5a64e
[mixcloud] Fix extraction (closes #14088) 7 years ago
Sergey M․ b08e235f09
[compat] Fix compat_shlex_quote on Windows (closes #5889, closes #10254) 8 years ago
Sergey M․ b081f53b08
[compat] Add compat_HTMLParseError to __all__ 8 years ago
Sergey M․ 72b409559c
[compat] Introduce compat_HTMLParseError 8 years ago
Remita Amine 40fcba5edb improve coding style 8 years ago
Sergey M․ 831217291a
[compat] Use try except for compat_numeric_types 8 years ago
Sergey M․ 28572a1a0b [compat] Add compat_numeric_types 8 years ago
Remita Amine da162c1135 [compat] add compat_etree_register_namespace to __all__ list 8 years ago
Remita Amine c2d9c25f81 [compat] add compat_etree_register_namespace 8 years ago
Yen Chi Hsuan ec85ded83c
Fix "invalid escape sequences" error on Python 3.6 8 years ago
Yen Chi Hsuan 582be35847
Update coding style after pycodestyle 2.1.0
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
8 years ago
Yen Chi Hsuan ec3518725b
[compat] Fix test_cmdline_umlauts on Python 2.6
The original statement raises uncaught UnicodeWarning on Python 2.6
8 years ago
Yen Chi Hsuan dfe5fa49ae
[compat] Fix compat_shlex_split for non-ASCII input
Closes #9871
8 years ago
Yen Chi Hsuan 836ab0c554
[compat] Import html5 entities correctly 9 years ago
Yen Chi Hsuan 9631a94fb5
[compat] Add compat_html_entities_html5
Used in tset_Vporn_1. Also Related to #9270
9 years ago
Jaime Marquínez Ferrándiz e67f688025 [compat] Add 'compat_input' to __all__ 9 years ago
Sergey M․ 1ae6c83bce
[compat] Add compat_input 9 years ago
Yen Chi Hsuan eb7941e3e6
[compat] Fix for XML with <!DOCTYPE> in Python 2.7 and 3.2
Such XML documents cause DeprecationWarning if python is run
with `-W error`
9 years ago
Yen Chi Hsuan 702ccf2dc0
[compat] Rename shlex_quote and remove unused subprocess_check_output 9 years ago
Yen Chi Hsuan edaa23f822
[compat] Rename struct_(un)pack to compat_struct_(un)pack 9 years ago
Yen Chi Hsuan dab0daeeb0
[utils,compat] Move struct_pack and struct_unpack to compat.py 9 years ago
Sergey M․ fe40f9eef2
[compat] Add compat_setenv 9 years ago
Yen Chi Hsuan 92d5477d84 [compat] Handle tuples properly in urlencode()
Fixes #9055
9 years ago
Sergey M․ 15707c7e02 [compat] Add compat_urllib_parse_urlencode and eliminate encode_dict
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
9 years ago
Sergey M․ 57f7e3c62d [compat] Add compat_xpath 9 years ago