Commit Graph

20 Commits (0783fd558ed0d3a8bc754beb75a406256f8b97b2)

Author SHA1 Message Date
bashonly d4f14a72dc
[ie] Do not test truth value of `xml.etree.ElementTree.Element` ()
Testing the truthiness of an `xml.etree.ElementTree.Element` instance is deprecated in py3.12

Authored by: bashonly
coletdjnz 3d2623a898
[compat, networking] Deprecate old functions ()
Authored by: coletdjnz, pukkandan
pukkandan 9f14daf22b
[extractor] Deprecate `_sort_formats`
pukkandan 6368e2e639
[cleanup] Misc
Closes 
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 f82711587c
[cleanup] Sort imports
Using https://github.com/PyCQA/isort

    isort -m VERTICAL_HANGING_INDENT --py 36 -l 80 --rr -n --tc .
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 f9934b9614
[cleanup] Mark some compat variables for removal ()
Authored by fstirlitz, pukkandan
Sipherdrakon fec41d17a5
[MTV] Improve mgid extraction ()
Original PR: https://github.com/ytdl-org/youtube-dl/pull/30149
Fixes: , , https://github.com/ytdl-org/youtube-dl/issues/30139

Authored by: Sipherdrakon, kikuyan
pukkandan 34921b4345
[utils] Add `join_nonempty`
Sipherdrakon 6b301aaa34
[mtv] Fix some videos ()
Partial fix for 
Authored by: Sipherdrakon
coletdjnz 02def2714c
[southpark] Fix SouthParkDE ()
This was broken by ee1e05581e
Authored by: coletdjnz
Sipherdrakon 54153fb71b
[VH1,TVLand] Fix extractors ()
Fixes  but not 
Authored by: Sipherdrakon
pukkandan 5ad28e7ffd
[extractor] Common function `_match_valid_url`
pukkandan bc97cdae67
[cleanup] Fix linter and some typos
Related: https://github.com/ytdl-org/youtube-dl/pull/29398
pukkandan f7ad71607d
Update to ytdl-commit-4fb25ff
[maoritv] Add new extractor
4fb25ff5a3

Except:
[vimeo] improve extraction 3ae9c0f410
[youtube:tab] Pass innertube context... 1b0a13f33c
pukkandan 1418a0437f
Update to ytdl-commit-8562218
[ard] improve clip id extraction
8562218350
nixxo 605b684c2d
[mtv] Add mtv.it and extract series metadata ()
* New extractors: MTVItalia, MTVItaliaProgramma
* Extract fields: series, season_number, episode_number

Authored-by: nixxo
pukkandan ee1e05581e
[mtv] Fix extractor by reverting changes made in youtube-dlc
youtube-dl has since fixed the extractor and the changes from the two sources are incompatible
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