Commit Graph

8 Commits (df773c3d5d1cc1f877cf8582f0072e386fc49318)

Author SHA1 Message Date
pukkandan 9f14daf22b
[extractor] Deprecate `_sort_formats`
pukkandan bfd973ece3 [extractors] Use new framework for existing embeds ()
`Brightcove` is difficult to migrate because it's subclasses may depend
on the signature of the current functions. So it is left as-is for now

Note: Tests have not been migrated
pukkandan a70635b8a1
[cleanup, utils] Don't use kwargs for `format_field`
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 e0ddbd02bd
[cleanup] Use format_field where applicable
pukkandan 5ad28e7ffd
[extractor] Common function `_match_valid_url`
SsSsS 8e6cc12c80
[Vine] Remove invalid formats ()
Authored by: u-spec-png
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