aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/compat.py
Commit message (Collapse)AuthorAgeFilesLines
* [compat] Split into sub-modules (#2173)felix2022-04-181-302/+0
| | | | Authored by: fstirlitz, pukkandan
* [cleanup] Misc cleanup and refactor (#2173)pukkandan2022-04-181-13/+10
|
* [test] Convert warnings into errorspukkandan2022-04-181-1/+1
| | | | | | * And fix some existing warnings Authored by: fstirlitz
* [cleanup] Misc cleanup (#2173)pukkandan2022-04-121-1/+1
| | | | Authored by: fstirlitz, pukkandan
* [cleanup] Upgrade syntaxpukkandan2022-04-121-2/+0
| | | | | | | | | | Using https://github.com/asottile/pyupgrade 1. `__future__` imports and `coding: utf-8` were removed 2. Files were rewritten with `pyupgrade --py36-plus --keep-percent-format` 3. f-strings were cherry-picked from `pyupgrade --py36-plus` Extractors are left untouched (except removing header) to avoid unnecessary merge conflicts
* [cleanup] Mark some compat variables for removal (#2173)pukkandan2022-04-121-36/+35
| | | | Authored by fstirlitz, pukkandan
* [cleanup] Remove unused code paths (#2173)felix2022-04-121-23/+1
| | | | | | | | | | | | | | | | | | | Notes: * `_windows_write_string`: Fixed in 3.6 * https://bugs.python.org/issue1602 * PEP: https://www.python.org/dev/peps/pep-0528 * Windows UTF-8 fix: Fixed in 3.3 * https://bugs.python.org/issue13216 * `__loader__`: is always present in 3.3+ * https://bugs.python.org/issue14646 * `workaround_optparse_bug9161`: Fixed in 2.7 * https://bugs.python.org/issue9161 Authored by: fstirlitz
* Add brotli content-encoding support (#2433)coletdev2022-03-081-0/+8
| | | Authored by: coletdjnz
* [utils] WebSockets wrapper for non-async functions (#2417)Lesmiscore (Naoya Ozaki)2022-02-131-0/+11
| | | Authored by: Lesmiscore
* Update to ytdl-commit-78ce962pukkandan2022-02-031-0/+7
| | | | | [youtube] Support channel search https://github.com/ytdl-org/youtube-dl/commit/78ce962f4fe020994c216dd2671546fbe58a5c67
* [compat] Suppress errors in enabling VT modepukkandan2021-12-081-1/+10
| | | | Closes #1932
* [compat] Don't create console in `windows_enable_vt_mode`pukkandan2021-10-261-1/+4
| | | | Closes #1420
* Improved progress reporting (See desc) (#1125)pukkandan2021-10-091-0/+7
| | | | | | | | | | | * Separate `--console-title` and `--no-progress` * Add option `--progress` to show progress-bar even in quiet mode * Fix and refactor `minicurses` * Use `minicurses` for all progress reporting * Standardize use of terminal sequences and enable color support for windows 10 * Add option `--progress-template` to customize progress-bar and console-title * Add postprocessor hooks and progress reporting Closes: #906, #901, #1085, #1170
* [docs,cleanup] Some minor refactoring and improve docspukkandan2021-09-301-0/+2
|
* [hls,aes] Fallback to native implementation for AES-CBCpukkandan2021-09-181-0/+10
| | | | | | | and detect `Cryptodome` in addition to `Crypto` Closes #935 Related: #938
* [compat] Don't ignore `HOME` (if set) on windowspukkandan2021-09-161-1/+18
| | | | Related: #792
* [compat] Remove unnecessary codepukkandan2021-07-201-2943/+86
|
* [websockets] Add `WebSocketFragmentFD` (#399)pukkandan2021-06-211-0/+16
| | | | | | Necessary for #392 Co-authored by: nao20010128nao, pukkandan
* [downloader/hls] Assemble single-file WebVTT subtitles from HLS segmentsFelix S2021-04-281-0/+14
|
* Update to ytdl-commit-4fb25ffpukkandan2021-04-101-0/+10
| | | | | | | | | [maoritv] Add new extractor https://github.com/ytdl-org/youtube-dl/commit/4fb25ff5a3be5206bb72e5c4046715b1529fb2c7 Except: [vimeo] improve extraction https://github.com/ytdl-org/youtube-dl/commit/3ae9c0f410b1d4f63e8bada67dd62a8d2852be32 [youtube:tab] Pass innertube context... https://github.com/ytdl-org/youtube-dl/commit/1b0a13f33cfb3644cc718d35951ea85bb1905459
* Completely change project name to yt-dlp (#85)Pccode662021-02-251-0/+3073
* All modules and binary names are changed * All documentation references changed * yt-dlp no longer loads youtube-dlc config files * All URLs changed to point to organization account Co-authored-by: Pccode66 Co-authored-by: pukkandan