[PR #17094] [MERGED] build(deps): bump youtube-transcript-api from 1.1.0 to 1.2.2 in /backend #24319

Closed
opened 2026-04-20 05:20:31 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/17094
Author: @dependabot[bot]
Created: 9/1/2025
Status: Merged
Merged: 9/1/2025
Merged by: @tjbck

Base: devHead: dependabot/pip/backend/dev/youtube-transcript-api-1.2.2


📝 Commits (1)

  • 3e69f10 build(deps): bump youtube-transcript-api from 1.1.0 to 1.2.2 in /backend

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 backend/requirements.txt (+1 -1)

📄 Description

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: https://github.com/jdepoix/youtube-transcript-api/compare/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: https://github.com/jdepoix/youtube-transcript-api/compare/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

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/17094 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 9/1/2025 **Status:** ✅ Merged **Merged:** 9/1/2025 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `dependabot/pip/backend/dev/youtube-transcript-api-1.2.2` --- ### 📝 Commits (1) - [`3e69f10`](https://github.com/open-webui/open-webui/commit/3e69f10af7788d908f7759bcb7dbfa67ef8a7996) build(deps): bump youtube-transcript-api from 1.1.0 to 1.2.2 in /backend ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `backend/requirements.txt` (+1 -1) </details> ### 📄 Description Bumps [youtube-transcript-api](https://github.com/jdepoix/youtube-transcript-api) from 1.1.0 to 1.2.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/jdepoix/youtube-transcript-api/releases">youtube-transcript-api's releases</a>.</em></p> <blockquote> <h2>v1.2.2</h2> <h2>What's Changed</h2> <ul> <li>Add <code>--version</code> option to CLI by <a href="https://github.com/sderev"><code>@​sderev</code></a> in <a href="https://redirect.github.com/jdepoix/youtube-transcript-api/pull/496">jdepoix/youtube-transcript-api#496</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/sderev"><code>@​sderev</code></a> made their first contribution in <a href="https://redirect.github.com/jdepoix/youtube-transcript-api/pull/496">jdepoix/youtube-transcript-api#496</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/jdepoix/youtube-transcript-api/compare/v1.2.1...v1.2.2">https://github.com/jdepoix/youtube-transcript-api/compare/v1.2.1...v1.2.2</a></p> <h2>v1.2.1</h2> <h2>What's Changed</h2> <ul> <li>Added the property <code>filter_ip_locations</code> to <code>WebshareProxyConfig</code>. 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. <pre lang="python"><code>ytt_api = YouTubeTranscriptApi( proxy_config=WebshareProxyConfig( proxy_username=&quot;&lt;proxy-username&gt;&quot;, proxy_password=&quot;&lt;proxy-password&gt;&quot;, filter_ip_locations=[&quot;de&quot;, &quot;us&quot;], ) ) <h1>Webshare will now only rotate through IPs located in Germany or the United States!</h1> <p>ytt_api.fetch(video_id) </code></pre> The full list of available locations (and how many IPs are available in each location) can be found <a href="https://www.webshare.io/features/proxy-locations?referral_code=w0xno53eb50g">here</a>.</li></p> <li>[Fixes <a href="https://redirect.github.com/jdepoix/youtube-transcript-api/issues/483">#483</a>] Add <code>__all__</code> to <code>__init__.py</code> to support mypy --strict usage by <a href="https://github.com/Jer-Pha"><code>@​Jer-Pha</code></a> in <a href="https://redirect.github.com/jdepoix/youtube-transcript-api/pull/486">jdepoix/youtube-transcript-api#486</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/Jer-Pha"><code>@​Jer-Pha</code></a> made their first contribution in <a href="https://redirect.github.com/jdepoix/youtube-transcript-api/pull/486">jdepoix/youtube-transcript-api#486</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/jdepoix/youtube-transcript-api/compare/v1.2.0...v1.2.1">https://github.com/jdepoix/youtube-transcript-api/compare/v1.2.0...v1.2.1</a></p> <h2>v1.2.0</h2> <h2>What's Changed</h2> <ul> <li><strong>[BREAKING]</strong> Removed the deprecated methods <code>get_transcript</code>, <code>get_transcripts</code> and <code>list_transcripts</code>. They have already been deprecated in <code>v1.0.0</code>, but I've kept them around to allow for an easier migration to <code>v1.0.0</code>. However, these methods have led to a lot of issues being created due to people initializing a <code>YouTubeTranscriptApi</code> 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.</li> </ul> <h2>Migration Guide</h2> <p>If you're still using <code>get_transcript</code>, <code>get_transcripts</code> you have to change your code as follows:</p> <pre lang="python"><code># old API transcript = YouTubeTranscriptApi.get_transcript(&quot;abc&quot;) <h1>new API</h1> <p>ytt_api = YouTubeTranscriptApi() transcript = ytt_api.fetch(&quot;abc&quot;).to_raw_data() </code></pre></p> <p>If you're still using <code>list_transcripts</code> you have to change your code as follows:</p> <pre lang="python"><code># old API &lt;/tr&gt;&lt;/table&gt; </code></pre> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/jdepoix/youtube-transcript-api/commit/63eeec2604de4e6ae8c985212a7b01bd6b519790"><code>63eeec2</code></a> Merge pull request <a href="https://redirect.github.com/jdepoix/youtube-transcript-api/issues/507">#507</a> from jdepoix/release/v1.2.2</li> <li><a href="https://github.com/jdepoix/youtube-transcript-api/commit/7c124b3a2d3d34a986aa5f535d2250e66b02e44f"><code>7c124b3</code></a> v1.2.2</li> <li><a href="https://github.com/jdepoix/youtube-transcript-api/commit/3e6d569ad8df9c2895a535286a5db8e65cc09078"><code>3e6d569</code></a> Merge pull request <a href="https://redirect.github.com/jdepoix/youtube-transcript-api/issues/496">#496</a> from sderev/feature/cli-version-option</li> <li><a href="https://github.com/jdepoix/youtube-transcript-api/commit/87880e70d93059bc932b412796d34857846e1537"><code>87880e7</code></a> Add <code>--version</code> option to CLI</li> <li><a href="https://github.com/jdepoix/youtube-transcript-api/commit/aa50f3735cfc60016408b6bd7b41065489221a5f"><code>aa50f37</code></a> v1.2.1</li> <li><a href="https://github.com/jdepoix/youtube-transcript-api/commit/2c88d5c261f7007606a731586a2206d9e0fbc6de"><code>2c88d5c</code></a> Merge pull request <a href="https://redirect.github.com/jdepoix/youtube-transcript-api/issues/486">#486</a> from Jer-Pha/bugfix/ISSUE-483</li> <li><a href="https://github.com/jdepoix/youtube-transcript-api/commit/d948c984555e9cd2c0a8a5fbdf4d1bc17b15e6bc"><code>d948c98</code></a> Merge branch 'master' into bugfix/ISSUE-483</li> <li><a href="https://github.com/jdepoix/youtube-transcript-api/commit/11306c2288b2309d2e3980e70ff60ae100c3e2d9"><code>11306c2</code></a> Merge pull request <a href="https://redirect.github.com/jdepoix/youtube-transcript-api/issues/490">#490</a> from jdepoix/feature/filter-webshare-ip-locations</li> <li><a href="https://github.com/jdepoix/youtube-transcript-api/commit/4fa89a579953c107a8da7fddb0e1bd588acd9c24"><code>4fa89a5</code></a> Merge branch 'master' into bugfix/ISSUE-483</li> <li><a href="https://github.com/jdepoix/youtube-transcript-api/commit/747e245703641f581fe1c5d427a0fa2c3dbd3c8d"><code>747e245</code></a> fmt</li> <li>Additional commits viewable in <a href="https://github.com/jdepoix/youtube-transcript-api/compare/v1.1.0...v1.2.2">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=youtube-transcript-api&package-manager=pip&previous-version=1.1.0&new-version=1.2.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-20 05:20:31 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#24319