Commit Graph

294 Commits (2cfe221fbbe46faa3f46552c08d947a51f424903)

Author SHA1 Message Date
pukkandan b532a34810
[docs] Minor fixes
Closes 
pukkandan 337734d4a8
[cleanup] Misc
pukkandan fa44802809
[devscripts/make_changelog] Skip reverted commits
pukkandan 812cdfa06c
[cleanup] Misc
pukkandan 5fd8367496
[extractor] Support multiple `_VALID_URL`s ()
Authored by: nixxo
pukkandan ad54c9130e
[cleanup] Misc
Closes , Closes , Closes , Closes , Closes 
Authored by: mikf, freezboltz, pukkandan
pukkandan 46f1370e9a
[devscripts/cli_to_api] Add script
Simon Sawicki 23c39a4bea
[devscripts] `make_changelog`: Various improvements
- Make single items collapse into one line
- Don't hide "Important changes" in `<details>`
- Move upstream merge into priority
- Properly support comma separated prefixes

Authored by: Grub4K
bashonly c4efa0aefe
[build] Various build workflow improvements
- Wait for build before publishing to PyPI
- Do not run `meta_files` job if release is cancelled
- Customizable channel in release workflow
- Display badges above changelog

Authored by: bashonly, Grub4K
pukkandan 392389b7df
[cleanup] Misc
pukkandan 7accdd9845
[devscripts] `make_changelog`: Stop at `Release ...` commit
Closes 
Simon Sawicki 9344964281
Fix d400e261cf
Authored by: Grub4K
pukkandan bfc861a91e
Fix bug in 29cb20bd56
pukkandan 4815bbfc41
[cleanup] Misc
Simon Sawicki 29cb20bd56
[build] Automated builds and nightly releases ()
Closes 
Authored by: Grub4K, bashonly

Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
Simon Sawicki d400e261cf
[devscripts] Script to generate changelog ()
Authored by: Grub4K
pukkandan 5b28cef72d
[cleanup] Misc
pukkandan a538772969
[cleanup] Misc
Closes 
Matthew 8e40b9d1ec
Improve plugin architecture ()
to make plugins easier to develop and use:
* Plugins are now loaded as namespace packages.
* Plugins can be loaded in any distribution of yt-dlp (binary, pip, source, etc.).
* Plugin packages can be installed and managed via pip, or dropped into any of the documented locations.
* Users do not need to edit any code files to install plugins.
* Backwards-compatible with previous plugin architecture.

As a side-effect, yt-dlp will now search in a few more locations for config files.

Closes https://github.com/yt-dlp/yt-dlp/issues/1389

Authored by: flashdagger, coletdjnz, pukkandan, Grub4K
Co-authored-by: Marcel <flashdagger@googlemail.com>
Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com>
Co-authored-by: Simon Sawicki <accounts@grub4k.xyz>
pukkandan 6368e2e639
[cleanup] Misc
Closes 
Lesmiscore 7d61d2306e
[build] Replace `set-output` with `GITHUB_OUTPUT` ()
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Authored by: Lesmiscore
pukkandan 2fa669f759
[docs] Misc improvements
Closes , Closes , Closes , Closes , Closes 
josanabr 46d72cd2c7
[devscripts] make_lazy_extractors: Fix for Docker ()
Authored by: josanabr
pukkandan d2c8aadf79
[cleanup] Misc
Closes , Closes , Closes 
Authored by: pukkandan, MrRawes, DavidH-2022
pukkandan e5458d1d88
Fix lazy extractor bug in fe7866d0ed
and add test

Fixes https://github.com/yt-dlp/yt-dlp/pull/3234#issuecomment-1225347071
pukkandan 96623ab5c6
[devscripts] Fix import
Closes 
pukkandan 70b2340909
[build, devscripts] Add devscript to set a build variant
Closes 
pukkandan 115add4387
[devscripts] Create `utils` and refactor
pukkandan 8f97a15d1c [extractor] Framework for embed detection ()
Lesmiscore 5c0dc6e603
[devscripts/update-formulae] Do not change dependency section
Closes 
pukkandan ca9f1df253
[docs] Improve issue templates
Chris Lamb 5b836d4739
[build] Consistent order for lazy extractors ()
Authored by: lamby
pukkandan 14f25df2b6
[compat] Remove deprecated functions from core code
pukkandan 54007a45f1
[cleanup] Consistent style for file heads
pukkandan ac66811112
[compat] Remove more functions
Removing any more will require changes to a large number of extractors
pukkandan 560738f34d
[extractor] Import `_ALL_CLASSES` lazily
This significantly speeds up `import yt_dlp` in the absence of `lazy_extractors`
pukkandan 64fa820ccf
[cleanup] Misc fixes (see desc)
* [tvver] Fix bug in 6837633a4a - Closes 
* [rumble] Fix tests - Closes 
* [make] Remove `cat` abuse - Closes 
* [make] Revert  - Closes 
* [utils] Improve `get_elements_by_class` - Closes 
* [utils] Inherit `Namespace` from `types.SimpleNamespace`
* [utils] Use `re.fullmatch` for matching filters
* [jsinterp] Handle quotes in `_separate`
* [make_readme] Allow overshooting last line

Authored by: pukkandan, kwconder, MrRawes, Lesmiscore
pukkandan 8a82af3511
[cleanup] Misc fixes and cleanup
Closes , Closes , Closes 
pukkandan c487cf0010
[cleanup] Misc
pukkandan 21633673c3
[cleanup] Minor fixes
pukkandan 2414649192
[cleanup] Misc cleanup
pukkandan 82d020804d
[extractor] Use classmethod/property where possible
and refactor lazy extractors accordingly.

This reduces the need to create extractor instances
pukkandan 8dcce6a89c
[extractor] Document netrc machines
Closes 
pukkandan 0f06bcd759
[cleanup] Minor fixes (See desc)
* [youtube] Fix `--youtube-skip-dash-manifest`
* [build] Use `$()` in `Makefile`. Closes 
* Fix bug in 385ffb467b
* Fix bug in 43d7f5a5d0
* [cleanup] Remove unnecessary `utf-8` from `str.encode`/`bytes.decode`
* [utils] LazyList: Expose unnecessarily "protected" attributes
and other minor cleanup
pukkandan 1d485a1a79
[cleanup] Misc fixes
Closes , https://github.com/yt-dlp/yt-dlp/issues/3514#issuecomment-1105944364
pukkandan c171445431
[cleanup,build] Cleanup some build-related code
Fixes an issue in 7ab56be2c7
pukkandan 19a0394044
[cleanup] Misc cleanup and refactor ()
pukkandan b6dc37fe2a
[test] Convert warnings into errors
* And fix some existing warnings

Authored by: fstirlitz
pukkandan e5a998f368
[cleanup] Misc cleanup ()
Authored by: fstirlitz, pukkandan
pukkandan f82711587c
[cleanup] Sort imports
Using https://github.com/PyCQA/isort

    isort -m VERTICAL_HANGING_INDENT --py 36 -l 80 --rr -n --tc .