wyvern.plugins.ytdlp¶
Youtube DL Artisan and Job.
Contains classes for downloading videos via yt-dlp.
- class wyvern.plugins.ytdlp.YtdlpArtisan¶
Youtube Artisan.
Request the Download of a singular youtube video.
- plugin_id: str = 'youtube'¶
ID of the plugin to use
Should be in kebab-case. Will be the name of the folder files are output into. The name may be shared with Artisans, but should only be shared with one
Factory.
- class wyvern.plugins.ytdlp.YtdlpJob(url: str, name: str | None = None, **kwargs: dict)¶
Create a job that is executed by yt-dlp.
- Parameters:
url – The URL of the video to download
name – The name to show in the UI - Will get overridden in meth:progress_callback
kwargs – Additional parameters to add.
- progress_callback(data: dict) None¶
Update state from job progress.