aboutsummaryrefslogtreecommitdiff
path: root/test/test_YoutubeDL.py
AgeCommit message (Collapse)Author
2021-06-06Fix filename sanitizationpukkandan
Bug from 752cda3880f30a46bed1d27b69188ab93ad1a368
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[cleanup] `_match_entry`pukkandan
2021-05-19[test] Fix `test_YoutubeDL.TestYoutubeDL`pukkandan
Test `test_ignoreerrors_for_playlist_with_url_transparent_iterable_entries` was broken due to `__original_infodict` being added to the dict
2021-04-22Improve output template (see desc)pukkandan
* Objects can be traversed like `%(field.key1.key2)s` * A number can be added to the field as `%(field+n)s` * Deprecates `--autonumber-start`
2021-04-20Improve --sub-langs (see desc)pukkandan
* Treat `--sub-langs` entries as regex * `all` can be used to refer to all the subtitles * the language code can be prefixed with `-` to exclude it * Deprecates `--all-subs` Closes #253
2021-04-16Fix some linter and typospukkandan
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-24Update to ytdl-2021.01.24.1Remita Amine
2021-01-07Fix/disable tests2021.01.07pukkandan
The disabled tests needs to be fixed later Tests for FormatSort, Multistreams also needs be created
2020-12-13Add --write-*-link by h-h-h-hpukkandan
Authored-by: h-h-h-h
2020-11-22Updated to release 2020.11.21.1pukkandan
2020-09-02[skip travis] renamingUnknown
to avoid using same folder when using pip install for example
2020-02-15[test_YoutubeDL] Add tests for #10591 (closes #23873)Sergey M․
2020-02-15[test_YoutubeDL] Fix get_idsSergey M․
2019-03-11Start moving to ytdl-orgSergey M․
2019-01-24[YoutubeDL] Fix typo in string negation implementation and add more tests ↵Sergey M․
(closes #18961)
2019-01-20[YoutubeDL] Add negation support for string comparisons in format selection ↵Sergey M․
expressions (closes #18600, closes #18805)
2017-11-26[test_YoutubeDL] Fix typo (closes #14856)Sergey M․
2017-10-11[YoutubeDL] Improve _default_format_spec (closes #14461)Sergey M․
2017-10-06[YoutubeDL] Ignore duplicates in --playlist-itemsSergey M․
E.g. '--playlist-items 2-4,3-4,3' should result in '[2,3,4]', not '[2,3,4,3,4,3]'
2017-10-06[test_YoutubeDL] Add test for #14425Sergey M․
2017-08-02[test_YoutubeDL] Add a test for #10083Sergey M․
2017-07-23[YoutubeDL] Improve default format specification (closes #13704)Sergey M․
2017-07-21[YoutubeDL] Do not override id, extractor and extractor_key in url_transparentSergey M․
All these meta fields must be borrowed from final extractor that actually performs extraction. This commit fixes extractor id in download archives for url_transparent downloads. Previously, 'transparent' extractor was erroneously used for extractor archive id, e.g. 'eggheadlesson 4n8ugwwj5t' instead of 'wistia 4n8ugwwj5t'.
2017-07-14[YoutubeDL] Don't expand env variables in meta fields (closes #13637)Sergey M․
2017-04-16[test_YoutubeDL] Add test for #11163Sergey M․
2017-02-23[YoutubeDL] Add support for string formatting operations in output templateSergey M․
2017-02-15[test_YoutubeDL] Fix invalid escape sequencesSergey M․
2017-02-15[utils] Add support for quoted string literals in --match-filter (closes ↵Sergey M․
#8050, closes #12142, closes #12144)
2016-10-31[utils] Fix --match-filter for int-like strings (closes #11082)Sergey M․
2016-07-16[YoutubeDL] Fix format selection with filters (Closes #10083)Sergey M․
2016-03-19[test_YoutubeDL] Add test for format_id format selectionSergey M․
2016-03-10[test_YoutubeDL] PEP 8Sergey M․
2016-03-10[YoutubeDL] Improve _format_noteSergey M․
2016-02-20[test_YoutubeDL] Make test pass until more intelligent sort formats (Closes ↵Sergey M․
#8462)
2016-02-06rename _parse_mpd to _parse_mpd_formats and add default value for mpd namespaceremitamine
2016-02-03[test_YoutubeDL] Fix test_youtube_format_selectionYen Chi Hsuan
Broken since a6c2c24479e5f4827ceb06f64d855329c0a6f593. Thanks to @jaimeMF and @anisse for pointing that out
2016-02-01[YoutubeDL] Do not override ie_key in url_transparentYen Chi Hsuan
2016-01-28Test codec with a dot '.' in name selection.dyn888
2016-01-14[YoutubeDL] urlopen: disable the 'file:' protocol (#8227)Jaime Marquínez Ferrándiz
If someone is running youtube-dl on a server to deliver files, the user could input 'file:///some/important/file' and youtube-dl would save that file as a video giving access to sensitive information to the user. 'file:' urls can be filtered, but the user can use an URL to a crafted m3u8 manifest like: #EXTM3U #EXT-X-MEDIA-SEQUENCE:0 #EXTINF:10.0 file:///etc/passwd #EXT-X-ENDLIST With this patch 'file:' URLs raise URLError like for unknown protocols.
2015-08-04[YoutubeDL] format spec: correctly handle dashes and other unused operatorsJaime Marquínez Ferrándiz
'mp4-baseline-16x9' must be handled as a single string, but the '-' was treated as an operator.
2015-08-03YoutubeDL: format spec: don't accept a bare '/' (#6124)Jaime Marquínez Ferrándiz
2015-07-10[YoutubeDL] format spec: add additional checks for invalid syntaxJaime Marquínez Ferrándiz
2015-07-04[YoutubeDL] format spec: Do not fail when a filter gives an empty resultJaime Marquínez Ferrándiz
For example with 'best[height<40]' we ended getting a 'IndexError: list index out of range'.
2015-07-04[YoutubeDL] format spec: fix handling of '/' with ','Jaime Marquínez Ferrándiz
When using 'bestvideo/best,bestaudio', 'bestvideo/best' must be set as the current_selector (instead of appending it to the selectors), otherwise when it gets the ',' it would append 'None' to the selectors.
2015-06-30[YoutubeDL] format spec: Fix handling of '+' with '/'Jaime Marquínez Ferrándiz
'bestvideo+bestaudio/best' was incorrectly interpreted as 'bestvideo+(bestaudio/best)', so it would fail if 'bestaudio' doesn't exist instead of falling back to 'best'.
2015-06-29[YoutubeDL] format spec: allow grouping specifiers with parenthesesJaime Marquínez Ferrándiz
2015-06-28[YoutubeDL] format spec: treat 'all' like a normal specifierJaime Marquínez Ferrándiz
So you can use filters with it, for example 'all[width>=400][width<=600]'.