aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_postprocessors.py
Commit message (Collapse)AuthorAgeFilesLines
* Misc fixes - See descpukkandan2021-08-101-7/+7
| | | | | | | * 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
* Add option `--replace-in-metadata`pukkandan2021-08-101-17/+16
|
* Fix and refactor `prepare_outtmpl`pukkandan2021-06-061-0/+14
| | | | | | | | | | 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
* [cleanup] Point all shebang to `python3` (#372)felix2021-06-061-1/+1
| | | | Authored by: fstirlitz
* [embedthumbnail] Correctly escape filenamepukkandan2021-05-291-1/+26
| | | | | | 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
* [MetadataFromField] Improve regex and add testspukkandan2021-04-211-0/+9
|
* Ability to set a specific field in the file's metadatapukkandan2021-04-031-2/+2
| | | | | Eg: `--parse-metadata "description:(?s)(?P<meta_comment>.+)"` sets the "comment" field using `description`
* Completely change project name to yt-dlp (#85)Pccode662021-02-251-1/+1
| | | | | | | | | * 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
* Add option `--parse-metadata`pukkandan2021-01-261-2/+8
| | | | | | | * The fields extracted by this can be used in `--output` * Deprecated `--metadata-from-title` :ci skip dl
* [skip travis] renamingUnknown2020-09-021-1/+1
| | | to avoid using same folder when using pip install for example
* [tests] Fix invalid escape sequencesSergey M․2018-11-231-1/+1
|
* [metadatafromtitle] Some improvements and cleanupJaime Marquínez Ferrándiz2015-03-141-0/+17
* 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