aboutsummaryrefslogtreecommitdiff
path: root/test/test_postprocessors.py
AgeCommit message (Collapse)Author
2022-10-18[SponsorBlock] Support `chapter` category (#5260)Ajay Ramachandran
Authored by: ajayyy, pukkandan
2022-06-25[cleanup] Consistent style for file headspukkandan
2022-04-12[cleanup] Sort importspukkandan
Using https://github.com/PyCQA/isort isort -m VERTICAL_HANGING_INDENT --py 36 -l 80 --rr -n --tc .
2022-04-12[cleanup] Upgrade syntaxpukkandan
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
2021-12-09[SponsorBlock] Add Filler and Highlight categories (#1664)Nil Admirari
Authored by: nihil-admirari, pukkandan
2021-09-19[SponsorBlock] Improve merge algorithm (#999)Nil Admirari
Authored by: nihil-admirari
2021-09-02Native SponsorBlock implementation and related improvements (#360)Nil Admirari
SponsorBlock options: * The fetched sponsor sections are written to infojson * `--sponsorblock-remove` removes specified chapters from file * `--sponsorblock-mark` marks the specified sponsor sections as chapters * `--sponsorblock-chapter-title` to specify sponsor chapter template * `--sponsorblock-api` to use a different API Related improvements: * Split `--embed-chapters` from `--embed-metadata` * Add `--remove-chapters` to remove arbitrary chapters * Add `--force-keyframes-at-cuts` for more accurate cuts when removing and splitting chapters Deprecates all `--sponskrub` options Authored by: nihil-admirari, pukkandan
2021-08-10Misc fixes - See descpukkandan
* Remove unnecessary uses of _list_from_options_callback * Fix download tests - Bug from 6e84b21559f586ee4d6affb61688d5c6a0c21221 * Rename ExecAfterDownloadPP to ExecPP and refactor its tests * Ensure _write_ytdl_file closes file handle on error - Potential fix for #517
2021-08-10Add option `--replace-in-metadata`pukkandan
2021-06-06Fix and refactor `prepare_outtmpl`pukkandan
The following tests would have failed previously: %(id)d %(id)r %(ext)s-%(ext|def)d %(width|)d %(id)r %(height)r %(formats.0)r %s
2021-06-06[cleanup] Point all shebang to `python3` (#372)felix
Authored by: fstirlitz
2021-05-29[embedthumbnail] Correctly escape filenamepukkandan
Closes #352 The approach in [1] is faulty as can be seen in the test cases 1. https://github.com/ytdl-org/youtube-dl/commit/bff857a8af696e701482208617bf0b7564951326
2021-04-21[MetadataFromField] Improve regex and add testspukkandan
2021-04-03Ability to set a specific field in the file's metadatapukkandan
Eg: `--parse-metadata "description:(?s)(?P<meta_comment>.+)"` sets the "comment" field using `description`
2021-02-25Completely change project name to yt-dlp (#85)Pccode66
* 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
2021-01-26Add option `--parse-metadata`pukkandan
* The fields extracted by this can be used in `--output` * Deprecated `--metadata-from-title` :ci skip dl
2020-09-02[skip travis] renamingUnknown
to avoid using same folder when using pip install for example
2018-11-23[tests] Fix invalid escape sequencesSergey M․
2015-03-14[metadatafromtitle] Some improvements and cleanupJaime Marquínez Ferrándiz
* Remove the 'songtitle' field, 'title' can be used instead. * Remove newlines in the help text, for consistency with other options. * Add 'from __future__ import unicode_literals'. * Call '__init__' from the parent class. * Add test for the format_to_regex method