aboutsummaryrefslogtreecommitdiff
path: root/test/test_utils.py
AgeCommit message (Collapse)Author
2022-01-19[utils] Handle `ss:xxx` in `parse_duration`pukkandan
Closes #2388
2022-01-09[utils] Improve `get_elements_text_and_html_by_attribute` regex (#2280)Zenon Mousmoulas
Authored by: zmousm, pukkandan
2022-01-06[utils] Improve parsing for nested HTML elements (#2129)Zenon Mousmoulas
and add functions to return the HTML of elements Authored by: zmousm
2022-01-04Allow multiple and nested configuration filespukkandan
2021-12-28[utils] Fix `format_bytes` output for Bytes (#2132)Pierre Mdawar
Authored by: pukkandan, mdawar
2021-12-25[utils] Improve `parse_count`pukkandan
2021-11-20[utils] Fix error when copying `LazyList`pukkandan
2021-11-20[utils] Allow alignment in `render_table`pukkandan
and add tests
2021-10-22[microsoftstream] Add extractor (#1201)Damiano Amatruda
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
2021-10-19[utils] Standardize timestamp formatting codepukkandan
Closes #1285
2021-10-18Add HDR information to formatspukkandan
2021-10-17[utils] Allow duration strings in filterpukkandan
Closes #1309
2021-08-23[utils] Add `parse_qs`pukkandan
2021-08-17Let `--match-filter` reject entries earlypukkandan
Makes redundant: `--match-title`, `--reject-title`, `--min-views`, `--max-views`
2021-08-05Add regex to `--match-filter`pukkandan
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
2021-08-05Add all format filtering operators also to `--match-filter`Max Teegen
PR: https://github.com/ytdl-org/youtube-dl/pull/27361 Authored by: max-te
2021-08-01[utils] Fix slicing of reversed `LazyList`pukkandan
Closes #589
2021-07-14[utils] Improve `js_to_json` comment regexfelix
Capture the newline character as part of a single-line comment From #497, Authored by: fstirlitz
2021-07-02Some minor fixes and refactoring (see desc)pukkandan
* [utils] Fix issues with reversal * check_formats should catch `DownloadError`, not `ExtractorError` * Simplify format selectors with `LazyList` and `yield from`
2021-06-13[utils] Improve `LazyList`pukkandan
* 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
2021-06-09Fix `%d` and empty default in outtmplpukkandan
Closes #388
2021-06-06[cleanup] Point all shebang to `python3` (#372)felix
Authored by: fstirlitz
2021-06-01[utils] Escape URLs in `sanitized_Request`, not `sanitize_url`pukkandan
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.
2021-05-24Handle Basic Auth `user:pass` in URLsHubert Hirtz
Fixes https://github.com/ytdl-org/youtube-dl/issues/20258, https://github.com/ytdl-org/youtube-dl/issues/26211 Authored by: hhirtz, pukkandan
2021-04-07[utils] Add `datetime_from_str` to parse relative time (#221)colethedj
and `datetime_add_months` to accurately add/subtract months Authored by: colethedj
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-08Update to ytdl-2021.01.08pukkandan
2021-01-05Update to ytdl-2021.01.03pukkandan
2020-12-13Add --write-*-link by h-h-h-hpukkandan
Authored-by: h-h-h-h
2020-11-20Merge 'ytdl-org/youtube-dl/master' release 2020.11.19pukkandan
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
2020-09-12Merge branch 'ytdl-org-master'Unknown
2020-09-02rot47 capital letters.Unknown
2020-09-02renaming issues resolvedUnknown
2020-09-02[skip travis] renamingUnknown
to avoid using same folder when using pip install for example
2019-12-15[utils] Improve str_to_intSergey M․
2019-11-29[utils] handle int values passed to str_to_intRemita Amine
2019-11-27[utils] Add generic caesar cipher and rot47Sergey M․
2019-11-27[utils] Handle rd-suffixed day parts in unified_strdate (#23199)InfernalUnderling
2019-10-18[utils] Improve subtitles_filename (closes #22753)Sergey M․
2019-06-14[utils] Restrict parse_codecs and add theora as known vcodec (#21381)Sergey M․
2019-05-24[utils] Improve strip_or_noneSergey M․
2019-05-11[utils] Transliterate "þ" as "th" (#20897)Jakub Wilk
Despite visual similarity "þ" is unrelated to "p". It is normally transliterated as "th": $ echo þ-Þ | iconv -t ASCII//TRANSLIT th-TH
2019-03-23[utils] Improve int_or_none and float_or_none (#20403)Sergey M․
2019-03-17[utils] Introduce parse_bitrateSergey M․
2019-01-20[utils] Fix urljoin for paths with non-http(s) schemesSergey M․
2018-09-10[utils] Properly recognize AV1 codec (closes #17506)Sergey M․
2018-07-21[utils] Introduce url_or_noneSergey M․
2018-07-21[utils] Allow JSONP with empty func name (closes #17028)Sergey M․
2018-06-02[openload] Improve ext extractionEnes
2018-05-23[test_utils] add tests for b836118724122a639a1cb78d55d91724bf1e7251Remita Amine