1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

www/py-youtube-transcript-api: Add new port

Youtube-transcript-api is a python API which allows you to retrieve
the transcript/subtitles for a given YouTube video. It also works
for automatically generated subtitles, supports translating subtitles
and it does not require a headless browser, like other selenium based
solutions do!

https://github.com/jdepoix/youtube-transcript-api
This commit is contained in:
Nicola Vitale 2024-11-04 15:06:20 +01:00
parent d9d0c0c860
commit 4c6248c359
No known key found for this signature in database
GPG Key ID: A51E190C4C0808D0
4 changed files with 28 additions and 0 deletions

View File

@ -1898,6 +1898,7 @@
SUBDIR += py-xandikos
SUBDIR += py-xyzservices
SUBDIR += py-yarl
SUBDIR += py-youtube-transcript-api
SUBDIR += py-yt-dlp
SUBDIR += pydio-cells
SUBDIR += qdecoder

View File

@ -0,0 +1,20 @@
PORTNAME= youtube-transcript-api
DISTVERSION= 0.6.2
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME:S/-/_/g}-${DISTVERSIONFULL}
MAINTAINER= nivit@FreeBSD.org
COMMENT= Python module for YouTube Transcript/Subtitle API
WWW= https://github.com/jdepoix/youtube-transcript-api
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=2.32.3:www/py-requests@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist distutils
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1730707696
SHA256 (youtube_transcript_api-0.6.2.tar.gz) = cad223d7620633cec44f657646bffc8bbc5598bd8e70b1ad2fa8277dec305eb7
SIZE (youtube_transcript_api-0.6.2.tar.gz) = 24565

View File

@ -0,0 +1,4 @@
Youtube-transcript-api is a Python API which allows you to retrieve the
transcript/subtitles for a given YouTube video. It also works for automatically
generated subtitles, supports translating subtitles and it does not require a
headless browser, like other selenium based solutions do!