Commit Graph

6 Commits (df773c3d5d1cc1f877cf8582f0072e386fc49318)

Author SHA1 Message Date
pukkandan 9f14daf22b
[extractor] Deprecate `_sort_formats`
pukkandan 86e5f3ed2e
[cleanup] Upgrade syntax
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
pukkandan 52efa4b312
[extractor] Add `_perform_login` function ()
* Adds new functions `_initialize_pre_login` and `_perform_login` as part of the extractor API
* Adds `ie.supports_login` to the public API
pukkandan 5ad28e7ffd
[extractor] Common function `_match_valid_url`
pukkandan 6a39ee13f7
Fix inconsistent use of `report_warning`
Pccode66 7a5c1cfe93
Completely change project name to yt-dlp ()
* 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