Skip to content

Remove deprecated methods: get_transcript, get_transcripts, list_transcripts #488

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 21, 2025

Conversation

jdepoix
Copy link
Owner

@jdepoix jdepoix commented Jul 21, 2025

The methods get_transcript, get_transcripts, list_transcripts have already been deprecated in v1.0.0, but I've kept them around to allow for an easier migration to v1.0.0. However, these methods have led to a lot of issues being created due to people initializing a YouTubeTranscriptApi object and passing a proxy config into the constructor, but then calling the deprecated static methods on that object. As these methods are static they don't/can't access the state set in the constructor, therefore, the proxy config is ignored.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 16414271894

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build 16052032523: 0.0%
Covered Lines: 491
Relevant Lines: 491

💛 - Coveralls

@jdepoix jdepoix merged commit da6920b into master Jul 21, 2025
10 checks passed
@jdepoix jdepoix deleted the feature/remove-depcreated-methods branch July 21, 2025 10:20
cloutprotocol pushed a commit to cloutprotocol/youtube-transcript-api that referenced this pull request Jul 22, 2025
…-methods

Removed deprecated methods: get_transcript, get_transcripts, list_transcripts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants