aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_utils.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Add HDR information to formatspukkandan2021-10-181-0/+22
|
* [utils] Allow duration strings in filterpukkandan2021-10-171-0/+1
| | | | Closes #1309
* [utils] Add `parse_qs`pukkandan2021-08-231-24/+21
|
* Let `--match-filter` reject entries earlypukkandan2021-08-171-3/+9
| | | | Makes redundant: `--match-title`, `--reject-title`, `--min-views`, `--max-views`
* Add regex to `--match-filter`pukkandan2021-08-051-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 Teegen2021-08-051-1/+11
| | | | | | PR: https://github.com/ytdl-org/youtube-dl/pull/27361 Authored by: max-te
* [utils] Fix slicing of reversed `LazyList`pukkandan2021-08-011-0/+4
| | | | Closes #589
* [utils] Improve `js_to_json` comment regexfelix2021-07-141-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)pukkandan2021-07-021-4/+4
| | | | | | * [utils] Fix issues with reversal * check_formats should catch `DownloadError`, not `ExtractorError` * Simplify format selectors with `LazyList` and `yield from`
* [utils] Improve `LazyList`pukkandan2021-06-131-0/+43
| | | | | | * Add `repr` and `str` that mimics `list` * Add `reversed`. Unlike `[::-1]`, reversed does not exhaust the iterable and modifies the `LazyList` in-place * Add tests
* Fix `%d` and empty default in outtmplpukkandan2021-06-091-0/+1
| | | | Closes #388
* [cleanup] Point all shebang to `python3` (#372)felix2021-06-061-1/+1
| | | | Authored by: fstirlitz
* [utils] Escape URLs in `sanitized_Request`, not `sanitize_url`pukkandan2021-06-011-0/+1
| | | | | d2558234cf5dd12d6896eed5427b7dcdb3ab7b5a added escaping of URLs while sanitizing. However, `sanitize_url` may not always receive an actual URL. Eg: When using `yt-dlp "search query" --default-search ytsearch`, `search query` gets escaped to `search%20query` before being prefixed with `ytsearch:` which is not the intended behavior. So the escaping is moved to `sanitized_Request` instead.
* Handle Basic Auth `user:pass` in URLsHubert Hirtz2021-05-241-0/+10
| | | | | Fixes https://github.com/ytdl-org/youtube-dl/issues/20258, https://github.com/ytdl-org/youtube-dl/issues/26211 Authored by: hhirtz, pukkandan
* [utils] Add `datetime_from_str` to parse relative time (#221)colethedj2021-04-071-2/+13
| | | | | | and `datetime_add_months` to accurately add/subtract months Authored by: colethedj
* Completely change project name to yt-dlp (#85)Pccode662021-02-251-7/+7
| | | | | | | | | * 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
* Update to ytdl-2021.01.08pukkandan2021-01-081-0/+5
|
* Update to ytdl-2021.01.03pukkandan2021-01-051-0/+5
|
* Add --write-*-link by h-h-h-hpukkandan2020-12-131-0/+27
| | | | Authored-by: h-h-h-h
* Merge 'ytdl-org/youtube-dl/master' release 2020.11.19pukkandan2020-11-201-0/+28
| | | | | | | | | | | | | | | | | | | | | | Old Extractors left behind: VLivePlaylistIE YoutubeSearchURLIE YoutubeShowIE YoutubeFavouritesIE If removing old extractors, make corresponding changes in docs/supportedsites.md youtube_dlc/extractor/extractors.py Not merged: .github/ISSUE_TEMPLATE/1_broken_site.md .github/ISSUE_TEMPLATE/2_site_support_request.md .github/ISSUE_TEMPLATE/3_site_feature_request.md .github/ISSUE_TEMPLATE/4_bug_report.md .github/ISSUE_TEMPLATE/5_feature_request.md test/test_all_urls.py youtube_dlc/version.py Changelog
* Merge branch 'ytdl-org-master'Unknown2020-09-121-0/+2
|
* rot47 capital letters.Unknown2020-09-021-1/+1
|
* renaming issues resolvedUnknown2020-09-021-2/+2
|
* [skip travis] renamingUnknown2020-09-021-7/+7
| | | to avoid using same folder when using pip install for example
* [utils] Improve str_to_intSergey M․2019-12-151-0/+5
|
* [utils] handle int values passed to str_to_intRemita Amine2019-11-291-0/+1
|
* [utils] Add generic caesar cipher and rot47Sergey M․2019-11-271-0/+16
|
* [utils] Handle rd-suffixed day parts in unified_strdate (#23199)InfernalUnderling2019-11-271-0/+2
|
* [utils] Improve subtitles_filename (closes #22753)Sergey M․2019-10-181-0/+6
|
* [utils] Restrict parse_codecs and add theora as known vcodec (#21381)Sergey M․2019-06-141-0/+9
|
* [utils] Improve strip_or_noneSergey M․2019-05-241-0/+13
|
* [utils] Transliterate "þ" as "th" (#20897)Jakub Wilk2019-05-111-1/+1
| | | | | | | Despite visual similarity "þ" is unrelated to "p". It is normally transliterated as "th": $ echo þ-Þ | iconv -t ASCII//TRANSLIT th-TH
* [utils] Improve int_or_none and float_or_none (#20403)Sergey M․2019-03-231-0/+17
|
* [utils] Introduce parse_bitrateSergey M․2019-03-171-0/+8
|
* [utils] Fix urljoin for paths with non-http(s) schemesSergey M․2019-01-201-0/+2
|
* [utils] Properly recognize AV1 codec (closes #17506)Sergey M․2018-09-101-0/+4
|
* [utils] Introduce url_or_noneSergey M․2018-07-211-0/+11
|
* [utils] Allow JSONP with empty func name (closes #17028)Sergey M․2018-07-211-0/+4
|
* [openload] Improve ext extractionEnes2018-06-021-0/+1
|
* [test_utils] add tests for b836118724122a639a1cb78d55d91724bf1e7251Remita Amine2018-05-231-0/+2
|
* [utils] Introduce merge_dictsSergey M․2018-04-281-0/+12
|
* [utils] Fix match_str for boolean meta fieldsSergey M․2018-04-241-0/+12
|
* [tennistv] Add support for tennistv.comPhilipp Hagemeister2018-03-141-0/+1
|
* [utils] Add parse_resolutionSergey M․2018-03-021-0/+11
|
* [utils] Fixup some common URL's typos in sanitize_url (closes #15649)Sergey M․2018-02-191-0/+7
|
* [test_utils] Add tests for malformed JSON handling in js_to_jsonSergey M․2018-01-201-0/+4
|
* [util] Improve scientific notation handling in js_to_json (closes #14789)Mike Fährmann2018-01-201-0/+6
|
* [utils] Add another date format pattern (#14999)Sergey M․2017-12-161-0/+1
|
* [utils] Add support for zero years and months in parse_durationSergey M․2017-10-291-0/+1
|
* [utils] Use bytes-like objects in dfxp2srtYen Chi Hsuan2017-09-161-3/+23
| | | | | | This fixes handling of non-UTF8 TTML subtitles Closes #14191