From 56275596836449805158bb9beabdf11997bf4b9b Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Tue, 12 Aug 2025 23:04:32 +0200 Subject: [PATCH] gnu: Add python-youtube-search. * gnu/packages/video.scm (python-youtube-search): New variable. Change-Id: Ie0c65484f5618c27e005bb4a79a4f957c7e07dcc Signed-off-by: Sharlatan Hellseher --- gnu/packages/video.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 6652a48b9aaec87bd0b5f19e06b8b09eb572caaf..22701aaa88915a05fdab0ea5b0d9dd9857b6a4d1 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -6685,6 +6685,27 @@ and press \"Record\". Peek is optimized for generating animated GIFs, but you can also directly record to WebM or MP4 if you prefer.") (license license:gpl3+))) +(define-public python-youtube-search + (package + (name "python-youtube-search") + (version "1.6.6") + (source + (origin + (method url-fetch) + (uri (pypi-uri "youtube-search-python" version)) + (sha256 + (base32 "1xgw6nqypnj3ymjkfyzc1vvwar73qvp08prnp15ypmzcd7bx2s25")))) + (build-system pyproject-build-system) + (propagated-inputs (list python-httpx)) + (native-inputs (list python-setuptools python-wheel)) + (home-page "https://github.com/alexmercerind/youtube-search-python") + (synopsis "Search for YouTube videos, channels & playlists") + (description + "This package provides tools to search for @code{YouTube} videos, +channels and playlists; as well as getting video metadata from links. This +package does not rely on the @code{YouTube} Data API v3.") + (license license:expat))) + (define-public wf-recorder (package (name "wf-recorder")