Commit Graph

7 Commits (adba24d2079d350fc03226adff3cae919d7a11db)

Author SHA1 Message Date
pukkandan bfd973ece3 [extractors] Use new framework for existing embeds (#4307)
`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
2 years ago
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
3 years ago
pukkandan 5e51f4a8ad
[glomex] Simplify embed detection (#2600)
Closes #2512
3 years ago
Zenon Mousmoulas 19afd9ea51
[GlomexEmbed] Avoid large match objects
Closes #2512
Authored by: zmousm
3 years ago
pukkandan 6970b6005e
[cleanup] Minor fixes
Closes #2334
3 years ago
Zenon Mousmoulas fdf80059d9
[glomex] Minor fixes (#2357)
Authored by: zmousm
3 years ago
Zenon Mousmoulas 71738b1451
[glomex] Add new extractors (#1979)
Original PR: https://github.com/ytdl-org/youtube-dl/pull/30212
Authored by: zmousm
3 years ago