Commit Graph

7 Commits (94ed638a437fc766699d440e978982e24ce6a30a)

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 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 a5c0c20252
[cleanup] Don't pass protocol to `_extract_m3u8_formats` for live videos
`live` parameter already handles changing the protocol
pukkandan 39ca3b5c7f
[extractor] Standardize `_live_title`
pukkandan 5ad28e7ffd
[extractor] Common function `_match_valid_url`
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