Commit Graph

6 Commits (7a26ce2641c45b561dde190e2eb92b7d923ca5de)

Author SHA1 Message Date
coletdjnz d3a3d7f0cc
[extractor/JWPlatform] Fix extractor ()
Fix bitrate and filesize extraction and support embeds with unquoted urls.

Related:  

Authored by: coletdjnz
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 f3c0c77304
[extractor] Handle `json_ld` with multiple `@type`s
Closes: 
pukkandan 55baa67c7c
[extractor/jwplatform] Look for `data-video-jw-id`
Closes 
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
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