[Integration]: GetYouTubeTranscript

Abierto Apto para principiantes
#830 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 10 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
1/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
72/100
Tipo de issue
Documentación
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
python

Línea de trabajo

Empieza por las páginas de integraciones existentes y el repositorio GetYouTubeTranscript enlazado, así como el paquete de PyPI, para comprobar el formato de los listados y los detalles del proyecto disponibles. El issue dice que la integración funciona y pide incluirla en la lista; el trabajo se considera terminado cuando se añadan la página de integración y el logotipo en el formato esperado. El autor dice que volverá a abrir el PR de la página si se aprueba.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Stage

Ready: integration exists and works, proposing to list it

Integration or project name

GetYouTubeTranscript

Integration type

Data Ingestion

Published package or repo (if it exists)

https://pypi.org/project/getyoutubetranscript-haystack/ and https://github.com/tubeagentkit/getyoutubetranscript-haystack

Need or proof of use

This is the proposal for #639, which was closed when the new process started (thanks @kacperlukawski for the pointer).

Use case: indexing YouTube videos (lectures, talks, product demos, podcasts) into a Haystack document store, and giving agents a tool to read a video when a user pastes a link. Fetching transcripts directly from YouTube tends to break once a pipeline runs on a cloud host, so a hosted API is the practical route for production pipelines.

Re-tested today against the PyPI release in a clean venv (haystack-ai 3.5.0, getyoutubetranscript-haystack 0.1.0):

  • Indexing pipeline from the README (fetcher -> DocumentSplitter -> DocumentWriter into InMemoryDocumentStore): 16 chunks written for one video
  • ComponentTool wrapping the fetcher with timestamps=True: returns the Document with meta["segments"] (start, duration, text)
  • Pipeline.dumps() / loads() round trip works; the API key stays an env var reference via Secret
Short description

GetYouTubeTranscriptFetcher turns YouTube URLs or video IDs into Haystack Documents, one per video, with title, channel, language and word count in meta. Optional timestamps=True adds [m:ss] lines and per-caption segments, language picks a caption language, and raise_on_failure=False skips videos without captions instead of stopping the run. It works as a pipeline component for RAG indexing or as an agent tool through ComponentTool. Requests use the GetYouTubeTranscript API (paid service, API key required; failed requests are not charged).

If approved, I'll reopen the page PR with the integration page and logo as before.

Lenguaje dominante
Python
Estrellas
114
Forks
328
Merge medio
5 d 1 h
PR fusionados (30 d)
13

Preparar el entorno

  • Sin Dockerfile ni archivo de Docker Compose
  • Tiene una plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de deepset-ai/haystack-integrations

Todos los issues de deepset-ai/haystack-integrations

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.