Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | `--match-filter -` to interactively ask for each video | pukkandan | 2022-04-28 | 1 | -4/+8 | |
| | ||||||
* | [utils] `write_string`: Workaround newline issue in `conhost` | pukkandan | 2022-04-28 | 1 | -0/+4 | |
| | | | | | | | | | On windows `conhost`, when `WINDOWS_VT_MODE` is enabled, `\n` is not actually sent if the window is exactly the length of printed line, and the line does not end with a white-space character. So the line-break disappears when resizing the window. Fixes #1863 | |||||
* | [compat/asyncio] Use `asyncio.all_tasks` | pukkandan | 2022-04-26 | 1 | -4/+4 | |
| | ||||||
* | Revert acbc64225006964cf52d316e007a77a1b5e2975b | pukkandan | 2022-04-26 | 1 | -13/+8 | |
| | | | | | | Reverts "[utils] WebSocketsWrapper: Ignore warnings at websockets instantiation" The warning should not be suppressed. We need to address it | |||||
* | [utils] WebSocketsWrapper: Ignore warnings at websockets instantiation | Lesmiscore | 2022-04-25 | 1 | -6/+13 | |
| | | | | | | | This also fixes crash caused by moving asyncio to .compat. Authored by: Lesmiscore Thanks: J.Chung at Discord (581418557871620106) | |||||
* | [dependencies] Create module with all dependency imports | pukkandan | 2022-04-21 | 1 | -16/+9 | |
| | ||||||
* | Don't imply `-s` for later stages of `-O` | pukkandan | 2022-04-20 | 1 | -1/+1 | |
| | ||||||
* | bugfix for a44ca5a470e09b5170fc9c3a46733f050fadbfae, ↵ | pukkandan | 2022-04-19 | 1 | -1/+1 | |
| | | | | | | 19a0394044bfad36cd665450271b8eb048a41c02, 77f9033095cd8e1092a80db67f2b577cf13f95a8 Closes #3472 | |||||
* | [cleanup] Misc cleanup and refactor (#2173) | pukkandan | 2022-04-18 | 1 | -65/+38 | |
| | ||||||
* | [utils] Fix WebSocketsWrapper | pukkandan | 2022-04-15 | 1 | -0/+1 | |
| | | | | | Bug in 3cea3edd1ac1101bd709dfa0305509028118b163 Closes #3422 | |||||
* | [utils] certifi: Make sure the pem file exists | pukkandan | 2022-04-12 | 1 | -1/+2 | |
| | | | | Closes #3353 | |||||
* | [cleanup] Misc cleanup (#2173) | pukkandan | 2022-04-12 | 1 | -7/+7 | |
| | | | | Authored by: fstirlitz, pukkandan | |||||
* | [cleanup] Sort imports | pukkandan | 2022-04-12 | 1 | -13/+9 | |
| | | | | | | Using https://github.com/PyCQA/isort isort -m VERTICAL_HANGING_INDENT --py 36 -l 80 --rr -n --tc . | |||||
* | [cleanup] Upgrade syntax | pukkandan | 2022-04-12 | 1 | -54/+49 | |
| | | | | | | | | | | 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) | pukkandan | 2022-04-12 | 1 | -26/+18 | |
| | | | | Authored by fstirlitz, pukkandan | |||||
* | [cleanup] Remove unused code paths (#2173) | felix | 2022-04-12 | 1 | -226/+21 | |
| | | | | | | | | | | | | | | | | | | | 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 | |||||
* | [utils] locked_file: Do not give executable bits for newly created files | Lesmiscore | 2022-04-10 | 1 | -1/+1 | |
| | | | | Authored by: Lesmiscore | |||||
* | [utils] `sanitize_path`: Fix when path is empty string | pukkandan | 2022-04-09 | 1 | -1/+1 | |
| | ||||||
* | [test] Add `test_locked_file` | pukkandan | 2022-04-07 | 1 | -2/+3 | |
| | ||||||
* | [utils] locked_file: Fix non-blocking non-exclusive lock | pukkandan | 2022-04-07 | 1 | -8/+5 | |
| | ||||||
* | [utils] locked_file: Do not truncate files before locking (#2994) | Justin Keogh | 2022-04-06 | 1 | -4/+19 | |
| | | | Authored by: jakeogh, pukkandan | |||||
* | Do not lock downloading file on Windows | pukkandan | 2022-04-05 | 1 | -0/+4 | |
| | | | | Closes #3124 | |||||
* | Do not prevent download if locking is unsupported | pukkandan | 2022-04-05 | 1 | -44/+47 | |
| | | | | | | | Closes #3022 Failure to lock download-archive is still fatal. This is consistent with youtube-dl's behavior | |||||
* | [cleanup] Misc fixes | pukkandan | 2022-04-05 | 1 | -8/+11 | |
| | | | | | | Closes https://github.com/yt-dlp/yt-dlp/pull/3213, Closes https://github.com/yt-dlp/yt-dlp/pull/3117 Related: https://github.com/yt-dlp/yt-dlp/issues/3146#issuecomment-1077323114, https://github.com/yt-dlp/yt-dlp/pull/3277#discussion_r841019671, https://github.com/yt-dlp/yt-dlp/commit/a825ffbffa0bea322e3ccb44c6f8e01d8d9572fb#commitcomment-68538986, https://github.com/yt-dlp/yt-dlp/issues/2360, https://github.com/yt-dlp/yt-dlp/commit/5fa3c9a88f597625296981a4a26be723e65d4842#r70393519, https://github.com/yt-dlp/yt-dlp/commit/5fa3c9a88f597625296981a4a26be723e65d4842#r70393254 | |||||
* | [niconico] Fix extraction of thumbnails and uploader (#3266) | Lesmiscore (Naoya Ozaki) | 2022-04-01 | 1 | -2/+5 | |
| | ||||||
* | [utils] `traverse_obj`: Allow filtering by value | pukkandan | 2022-03-31 | 1 | -3/+3 | |
| | ||||||
* | [utils] Add `try_call` | pukkandan | 2022-03-31 | 1 | -6/+10 | |
| | ||||||
* | [ffmpeg] Cache version data | pukkandan | 2022-03-29 | 1 | -1/+3 | |
| | | | | Related: https://github.com/dasl-/pifi/issues/9 | |||||
* | [utils] Add `filter_dict` | pukkandan | 2022-03-28 | 1 | -6/+6 | |
| | ||||||
* | [youtube:tab] Fix duration extraction for shorts (#3171) | coletdev | 2022-03-28 | 1 | -6/+6 | |
| | | | | Related: https://github.com/TeamNewPipe/NewPipe/issues/8034 Authored-by: coletdjnz | |||||
* | [outtmpl] Limit changes during sanitization | pukkandan | 2022-03-27 | 1 | -15/+19 | |
| | | | | Closes #2761 | |||||
* | Ignore format-specific fields in initial pass of `--match-filter` | pukkandan | 2022-03-25 | 1 | -4/+12 | |
| | | | | Closes #3074 | |||||
* | [utils] WebSocketsWrapper: Allow omitting `__enter__` invocation (#3187) | Lesmiscore (Naoya Ozaki) | 2022-03-25 | 1 | -2/+5 | |
| | | | Authored by: Lesmiscore | |||||
* | Treat multiple `--match-filters` as OR | pukkandan | 2022-03-25 | 1 | -5/+7 | |
| | | | | Closes #3144 | |||||
* | [downloader] Fix invocation of `HttpieFD` | pukkandan | 2022-03-25 | 1 | -0/+8 | |
| | | | | Closes #3154 | |||||
* | Remove `Accept-Encoding` header from `std_headers` (#3153) | coletdev | 2022-03-23 | 1 | -1/+3 | |
| | | | | | This should be set by each downloader to what it supports. Fixes https://github.com/yt-dlp/yt-dlp/issues/3142 Authored-by: coletdjnz | |||||
* | Use certificates from `certifi` if installed (#3115) | coletdev | 2022-03-22 | 1 | -14/+23 | |
| | | | | | Fixes #3102 and most `CERTIFICATE_VERIFY_FAILED` issues Authored by: coletdjnz | |||||
* | [utils] `format_decimal_suffix`: Fix for very large numbers (#3109) | s0u1h | 2022-03-18 | 1 | -2/+3 | |
| | | | Authored by: s0u1h | |||||
* | [cleanup] Minor cleanup | pukkandan | 2022-03-11 | 1 | -1/+1 | |
| | | | | Closes #3006 | |||||
* | Fix case of `http_headers` | pukkandan | 2022-03-11 | 1 | -1/+1 | |
| | | | | | | Bug in 8b7539d27c0a47d8d08e0522bdb66c571483377b Fixes https://github.com/yt-dlp/yt-dlp/issues/1346#issuecomment-1064527765 | |||||
* | [utils] ExtractorError: Fix for older python versions | pukkandan | 2022-03-09 | 1 | -1/+1 | |
| | | | | Closes #2993 | |||||
* | [utils] Add `get_first` | pukkandan | 2022-03-09 | 1 | -0/+4 | |
| | ||||||
* | [cleanup] Refactor `__init__.py` (#2570) | pukkandan | 2022-03-08 | 1 | -0/+3 | |
| | | | | | * Split `__init__` code into multiple functions * Clean up validation code by grouping similar types of options * Expose `parse_options` to third parties | |||||
* | [cleanup, docs] Misc cleanup | pukkandan | 2022-03-08 | 1 | -2/+2 | |
| | | | | Closes #2828, closes #2734, closes #2802, closes #2937 | |||||
* | Add brotli content-encoding support (#2433) | coletdev | 2022-03-08 | 1 | -1/+20 | |
| | | | Authored by: coletdjnz | |||||
* | [utils] Better traceback for `ExtractorError` | pukkandan | 2022-03-08 | 1 | -3/+4 | |
| | ||||||
* | [utils] render_table: Fix character calculation for removing extra gap | Lesmiscore | 2022-03-06 | 1 | -1/+1 | |
| | | | | without this fix, the column next to delimiter will lack leading spaces on terminal (see https://github.com/yt-dlp/yt-dlp/pull/920#issuecomment-1059914615 for the situation) | |||||
* | [ant1newsgr] Add extractor (#1982) | Zenon Mousmoulas | 2022-03-04 | 1 | -0/+22 | |
| | | | Authored by: zmousm | |||||
* | Implement `--add-header` without modifying `std_headers` | pukkandan | 2022-03-04 | 1 | -1/+6 | |
| | | | | Closes #2526, #1614 | |||||
* | Handle negative duration from extractor | pukkandan | 2022-03-04 | 1 | -1/+1 | |
| | | | | Closes #2921 |