Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [utils] `js_to_json`: Implement template strings (#6623) | Simon Sawicki | 2023-03-25 | 1 | -0/+7 |
| | | | Authored by: Grub4K | ||||
* | [utils] `traverse_obj`: Fix more bugs | Simon Sawicki | 2023-02-10 | 1 | -27/+48 |
| | | | | | | and cleanup uses of `default=[]` Continued from b1bde57bef878478e3503ab07190fd207914ade9 | ||||
* | [utils] `traverse_obj`: Fix several behavioral problems | Simon Sawicki | 2023-02-08 | 1 | -16/+27 |
| | | | | | See #6180 for further info Authored by: Grub4K | ||||
* | [utils] `traverse_obj`: Various improvements | Simon Sawicki | 2023-02-02 | 1 | -0/+40 |
| | | | | | | | | - Add `set` key for transformations/filters - Add `re.Match` group names - Fix behavior for `expected_type` with `dict` key - Raise for filter function signature mismatch in debug Authored by: Grub4K | ||||
* | Add `weba` to known extensions | pukkandan | 2022-12-30 | 1 | -0/+2 |
| | |||||
* | [utils] js_to_json: Fix bug in f55523c (#5771) | ChillingPepper | 2022-12-30 | 1 | -0/+79 |
| | | | Authored by: ChillingPepper, pukkandan | ||||
* | [utils] `js_to_json`: Improve escape handling (#5217) | Simon Sawicki | 2022-10-13 | 1 | -0/+6 |
| | | | Authored by: Grub4K | ||||
* | [extractor/wordpress:mb.miniAudioPlayer] Add embed extractor (#5087) | Matthew | 2022-10-09 | 1 | -0/+3 |
| | | | | | Closes https://github.com/yt-dlp/yt-dlp/issues/4994 Authored by: coletdjnz | ||||
* | [utils] `traverse_obj`: Allow `re.Match` objects (#5174) | Simon Sawicki | 2022-10-09 | 1 | -0/+20 |
| | | | Authored by: Grub4K | ||||
* | [utils] `traverse_obj`: Always return list when branching (#5170) | Simon Sawicki | 2022-10-09 | 1 | -4/+23 |
| | | | | Fixes #5162 Authored by: Grub4K | ||||
* | [utils] `traverse_obj`: Rewrite, document and add tests (#5024) | Simon Sawicki | 2022-09-26 | 1 | -0/+187 |
| | | | Authored by: Grub4K | ||||
* | [utils] `base_url`: URL paths can contain `&` (#4841) | Elyse | 2022-09-04 | 1 | -0/+1 |
| | | | | Authored by: elyse0 Closes #4187 | ||||
* | [jsinterp] Handle new youtube signature functions | pukkandan | 2022-08-14 | 1 | -0/+4 |
| | | | | Closes #4635 | ||||
* | Fix tests for 989a01c2610832193c268d072ada8814bfd4c00d | pukkandan | 2022-08-05 | 1 | -5/+5 |
| | |||||
* | Determine merge container better (See desc) (#1482) | Lauren N. Liberda | 2022-08-04 | 1 | -0/+26 |
| | | | | | | | | * Determine the container early. Closes #4069 * Use codecs instead of just file extensions * Obey `--prefer-free-formats` * Allow fallbacks in `--merge-output` Authored by: pukkandan, selfisekai | ||||
* | [extractor/rai] Add raisudtirol extractor (#4524) | nixxo | 2022-08-02 | 1 | -0/+1 |
| | | | | Closes #4206 Authored by: nixxo | ||||
* | Fix a904a7f8c6edc42046f0a78fb279739d500d4887 | pukkandan | 2022-07-15 | 1 | -14/+6 |
| | |||||
* | Allow users to specify encoding in each config files (#4357) | Lesmiscore | 2022-07-15 | 1 | -0/+28 |
| | | | Authored by: Lesmiscore | ||||
* | [cleanup] Minor fixes | pukkandan | 2022-07-11 | 1 | -1/+1 |
| | |||||
* | [cleanup] Consistent style for file heads | pukkandan | 2022-06-25 | 1 | -2/+2 |
| | |||||
* | [compat] Remove more functions | pukkandan | 2022-06-25 | 1 | -10/+7 |
| | | | | Removing any more will require changes to a large number of extractors | ||||
* | [cleanup] Minor fixes (See desc) | pukkandan | 2022-05-09 | 1 | -1/+1 |
| | | | | | | | | | | * [youtube] Fix `--youtube-skip-dash-manifest` * [build] Use `$()` in `Makefile`. Closes #3684 * Fix bug in 385ffb467b2285e85a2a5495b90314ba1f8e0700 * Fix bug in 43d7f5a5d0c77556156a3f8caa6976d3908a1e38 * [cleanup] Remove unnecessary `utf-8` from `str.encode`/`bytes.decode` * [utils] LazyList: Expose unnecessarily "protected" attributes and other minor cleanup | ||||
* | [cleanup] Misc cleanup and refactor (#2173) | pukkandan | 2022-04-18 | 1 | -8/+14 |
| | |||||
* | [cleanup] Sort imports | pukkandan | 2022-04-12 | 1 | -47/+48 |
| | | | | | | 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 | -13/+8 |
| | | | | | | | | | | 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] Remove unused code paths (#2173) | felix | 2022-04-12 | 1 | -3/+0 |
| | | | | | | | | | | | | | | | | | | | 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 | ||||
* | [test] Add `test_locked_file` | pukkandan | 2022-04-07 | 1 | -0/+31 |
| | |||||
* | [youtube:tab] Fix duration extraction for shorts (#3171) | coletdev | 2022-03-28 | 1 | -0/+2 |
| | | | | Related: https://github.com/TeamNewPipe/NewPipe/issues/8034 Authored-by: coletdjnz | ||||
* | [outtmpl] Limit changes during sanitization | pukkandan | 2022-03-27 | 1 | -2/+4 |
| | | | | Closes #2761 | ||||
* | [utils] `format_decimal_suffix`: Fix for very large numbers (#3109) | s0u1h | 2022-03-18 | 1 | -0/+1 |
| | | | Authored by: s0u1h | ||||
* | Release 2022.02.03 | pukkandan | 2022-02-03 | 1 | -1/+1 |
| | |||||
* | [utils] Handle `ss:xxx` in `parse_duration` | pukkandan | 2022-01-19 | 1 | -0/+2 |
| | | | | Closes #2388 | ||||
* | [utils] Improve `get_elements_text_and_html_by_attribute` regex (#2280) | Zenon Mousmoulas | 2022-01-09 | 1 | -3/+3 |
| | | | Authored by: zmousm, pukkandan | ||||
* | [utils] Improve parsing for nested HTML elements (#2129) | Zenon Mousmoulas | 2022-01-06 | 1 | -15/+92 |
| | | | | | and add functions to return the HTML of elements Authored by: zmousm | ||||
* | Allow multiple and nested configuration files | pukkandan | 2022-01-04 | 1 | -0/+10 |
| | |||||
* | [utils] Fix `format_bytes` output for Bytes (#2132) | Pierre Mdawar | 2021-12-28 | 1 | -0/+13 |
| | | | | Authored by: pukkandan, mdawar | ||||
* | [utils] Improve `parse_count` | pukkandan | 2021-12-25 | 1 | -0/+7 |
| | |||||
* | [utils] Fix error when copying `LazyList` | pukkandan | 2021-11-20 | 1 | -5/+5 |
| | |||||
* | [utils] Allow alignment in `render_table` | pukkandan | 2021-11-20 | 1 | -1/+38 |
| | | | | and add tests | ||||
* | [microsoftstream] Add extractor (#1201) | Damiano Amatruda | 2021-10-22 | 1 | -2/+5 |
| | | | | | Based on: https://github.com/ytdl-org/youtube-dl/pull/24649 Fixes: https://github.com/ytdl-org/youtube-dl/issues/24440 Authored by: damianoamatruda, nixklai | ||||
* | [utils] Standardize timestamp formatting code | pukkandan | 2021-10-19 | 1 | -4/+4 |
| | | | | Closes #1285 | ||||
* | Add HDR information to formats | pukkandan | 2021-10-18 | 1 | -0/+22 |
| | |||||
* | [utils] Allow duration strings in filter | pukkandan | 2021-10-17 | 1 | -0/+1 |
| | | | | Closes #1309 | ||||
* | [utils] Add `parse_qs` | pukkandan | 2021-08-23 | 1 | -24/+21 |
| | |||||
* | Let `--match-filter` reject entries early | pukkandan | 2021-08-17 | 1 | -3/+9 |
| | | | | Makes redundant: `--match-title`, `--reject-title`, `--min-views`, `--max-views` | ||||
* | Add regex to `--match-filter` | pukkandan | 2021-08-05 | 1 | -12/+42 |
| | | | | | | | | This does not fully deprecate `--match-title`/`--reject-title` since `--match-filter` is only checked after the extraction is complete, while `--match-title` can often be checked from the flat playlist. Fixes: https://github.com/ytdl-org/youtube-dl/issues/9092, https://github.com/ytdl-org/youtube-dl/issues/23035 | ||||
* | Add all format filtering operators also to `--match-filter` | Max Teegen | 2021-08-05 | 1 | -1/+11 |
| | | | | | | PR: https://github.com/ytdl-org/youtube-dl/pull/27361 Authored by: max-te | ||||
* | [utils] Fix slicing of reversed `LazyList` | pukkandan | 2021-08-01 | 1 | -0/+4 |
| | | | | Closes #589 | ||||
* | [utils] Improve `js_to_json` comment regex | felix | 2021-07-14 | 1 | -0/+3 |
| | | | | | | Capture the newline character as part of a single-line comment From #497, Authored by: fstirlitz | ||||
* | Some minor fixes and refactoring (see desc) | pukkandan | 2021-07-02 | 1 | -4/+4 |
| | | | | | | * [utils] Fix issues with reversal * check_formats should catch `DownloadError`, not `ExtractorError` * Simplify format selectors with `LazyList` and `yield from` |