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:
parent
d9d0c0c860
commit
4c6248c359
@ -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
|
||||
|
20
www/py-youtube-transcript-api/Makefile
Normal file
20
www/py-youtube-transcript-api/Makefile
Normal 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>
|
3
www/py-youtube-transcript-api/distinfo
Normal file
3
www/py-youtube-transcript-api/distinfo
Normal 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
|
4
www/py-youtube-transcript-api/pkg-descr
Normal file
4
www/py-youtube-transcript-api/pkg-descr
Normal 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!
|
Loading…
Reference in New Issue
Block a user