Commit Graph

28 Commits (dad04bd4ba8165b112c36963ddcdfea51e8605d0)

Author SHA1 Message Date
coletdjnz cd490eeeab
Improve error message when invalid directory provided 4 weeks ago
coletdjnz 600b2ece36
Avoid searching disk for plugins when plugins are disabled 4 weeks ago
coletdjnz 37aed891c4
fix no-external not including PYTHONPATH 4 weeks ago
coletdjnz d48d00d064
Fix no-external 4 weeks ago
coletdjnz 51f3740030
Move away from contextvars 4 weeks ago
coletdjnz 072e68020d
Merge remote-tracking branch 'upstream/master' into misc/globals-and-plugins-revive
# Conflicts:
#	test/test_plugins.py
#	yt_dlp/plugins.py
4 weeks ago
bashonly d784464399
Remove Python 3.8 support (#11321)
Closes #10086
Authored by: bashonly
2 months ago
Imran Hussain 0f593dca9f
Add option `--plugin-dirs` (#11277)
Closes #3260
Authored by: imranh2, coletdjnz

Co-authored-by: coletdjnz <coletdjnz@protonmail.com>
2 months ago
coletdjnz 97684b0f2c
Add --no-plugins 2 months ago
coletdjnz 109c019e8a
Add public functions to add custom external plugin paths 2 months ago
coletdjnz 21e13bfa84
Decouple plugins.py from plugin types 2 months ago
coletdjnz a19dd28fdc
revert back to init_subclass, add guard against multiple imports of same plugin 2 months ago
coletdjnz 6547ff4335
minor refactoring 2 months ago
coletdjnz 3561d2a08f
load plugins in youtubedl if they haven't already 2 months ago
coletdjnz cb9e38a797
Fix reloading 2 months ago
coletdjnz 413ae7693b
Make globals internal-only 2 months ago
coletdjnz 4266658602
Get plugin overrides working 2 months ago
coletdjnz 9f1f2c5410
fix 2 months ago
coletdjnz 3d939b68fe
Merge remote-tracking branch 'upstream/master' into misc/globals-and-plugins-revive
# Conflicts:
#	yt_dlp/YoutubeDL.py
#	yt_dlp/__init__.py
#	yt_dlp/options.py
#	yt_dlp/plugins.py
#	yt_dlp/postprocessor/__init__.py
#	yt_dlp/utils/_utils.py
2 months ago
Simon Sawicki 1a830394a2
[build] `make_lazy_extractors`: Force running without plugins (#11205)
Authored by: Grub4K
3 months ago
Jade Laurence Empleo 9a8afadd17
[plugins] Handle `PermissionError` (#9229)
Authored by: syntaxsurge, pukkandan
10 months ago
Simon Sawicki 25b921b02c
Merge with 'upstream/master' 2 years ago
pukkandan b059188383
[plugins] Don't look in `.egg` directories
Closes #6306
2 years ago
pukkandan 88d8928bf7
[plugins] Fix zip search paths
Closes #6011
2 years ago
Simon Sawicki 8c297d184c Its lazy now at least? 2 years ago
Simon Sawicki 40f772c300 Rough demo 2 years ago
Simon Sawicki 773c272d66
Fix config locations (#5933)
Bug in 8e40b9d1ec
Closes #5953

Authored by: Grub4k, coletdjnz, pukkandan
2 years ago
Matthew 8e40b9d1ec
Improve plugin architecture (#5553)
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>
2 years ago