mirror of
https://git.freebsd.org/ports.git
synced 2025-05-15 08:41:51 -04:00
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
20 lines
528 B
Makefile
20 lines
528 B
Makefile
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>
|