Skip to content

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Aug 5, 2025

Bumps youtube-transcript-api from 1.1.0 to 1.2.2.

Release notes

Sourced from youtube-transcript-api's releases.

v1.2.2

What's Changed

New Contributors

Full Changelog: jdepoix/youtube-transcript-api@v1.2.1...v1.2.2

v1.2.1

What's Changed

  • Added the property filter_ip_locations to WebshareProxyConfig. This allows for limiting the pool of IPs that Webshare will be rotating through to those located in specific countries. By choosing locations that are close to the machine that is doing the requests, latency can be reduced. Also, this can be used to work around location-based restrictions.
    ytt_api = YouTubeTranscriptApi(
        proxy_config=WebshareProxyConfig(
            proxy_username="<proxy-username>",
            proxy_password="<proxy-password>",
            filter_ip_locations=["de", "us"],
        )
    )
    Webshare will now only rotate through IPs located in Germany or the United States!
    ytt_api.fetch(video_id)
    The full list of available locations (and how many IPs are available in each location) can be found here.
  • [Fixes #483] Add __all__ to __init__.py to support mypy --strict usage by @​Jer-Pha in jdepoix/youtube-transcript-api#486

New Contributors

Full Changelog: jdepoix/youtube-transcript-api@v1.2.0...v1.2.1

v1.2.0

What's Changed

  • [BREAKING] Removed the deprecated methods get_transcript, get_transcripts and list_transcripts. They 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.

Migration Guide

If you're still using get_transcript, get_transcripts you have to change your code as follows:

# old API
transcript = YouTubeTranscriptApi.get_transcript("abc")
new API
ytt_api = YouTubeTranscriptApi()
transcript = ytt_api.fetch("abc").to_raw_data()

If you're still using list_transcripts you have to change your code as follows:

# old API
</tr></table> 

... (truncated)

Commits
  • 63eeec2 Merge pull request #507 from jdepoix/release/v1.2.2
  • 7c124b3 v1.2.2
  • 3e6d569 Merge pull request #496 from sderev/feature/cli-version-option
  • 87880e7 Add --version option to CLI
  • aa50f37 v1.2.1
  • 2c88d5c Merge pull request #486 from Jer-Pha/bugfix/ISSUE-483
  • d948c98 Merge branch 'master' into bugfix/ISSUE-483
  • 11306c2 Merge pull request #490 from jdepoix/feature/filter-webshare-ip-locations
  • 4fa89a5 Merge branch 'master' into bugfix/ISSUE-483
  • 747e245 fmt
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [youtube-transcript-api](https://github.com/jdepoix/youtube-transcript-api) from 1.1.0 to 1.2.2.
- [Release notes](https://github.com/jdepoix/youtube-transcript-api/releases)
- [Commits](jdepoix/youtube-transcript-api@v1.1.0...v1.2.2)

---
updated-dependencies:
- dependency-name: youtube-transcript-api
  dependency-version: 1.2.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Aug 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants