-
Notifications
You must be signed in to change notification settings - Fork 197
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Version
0.0.3
Operating System
Windows
Python Version
3.8
What happened?
Bug:
- Using Synthetic-data-kit ingest with the latest youtube-transcript-api fails:
Error: type object 'YouTubeTranscriptApi' has no attribute 'get_transcript' - Downgrading to older version(e.g. ,<1.0.0) restores .get_transcript(), but ingestion fail with:
❌ Error: no element found: line 1, column 0 - However, when fetching transcripts manually using latest youtube-transcript-api works successfully
What did you expect to happen?
I except synthetic-data-kit ingest fetch YouTube transcripts successfully using the latest version of youtube-transcript-api without error
Solution:
- Update the code to use the latest version of youtube-transcript-api
- Replace .get_transcript() method with latest .fetch() method
Relevant log output
Steps to reproduce
- install the latest youtube-transcript-api
- Run synthetic-data-kit ingest with a Youtube video URL
- Observer the get_transcript attribute error
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working