[PR #12535] [MERGED] build(deps): bump youtube-transcript-api from 0.6.3 to 1.0.3 in /backend #22954

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

📋 Pull Request Information

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

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


📝 Commits (1)

  • 96ecdc3 build(deps): bump youtube-transcript-api from 0.6.3 to 1.0.3 in /backend

📊 Changes

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

View changed files

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

📄 Description

Bumps youtube-transcript-api from 0.6.3 to 1.0.3.

Release notes

Sourced from youtube-transcript-api's releases.

v1.0.3

What's Changed

  • Refactored parsing of the JS var containing the transcript data, to make it more robust to changes in the formatting of the returned HTML

Full Changelog: https://github.com/jdepoix/youtube-transcript-api/compare/v1.0.2...v1.0.3

v1.0.2

What's Changed

  • Added retry mechanism, which will retry requests when Webshare proxies are used and RequestBlocked is raised, to trigger an IP rotation in case a user encounters a blocked residential IP
  • Added new error messages when RequestBlocked is raised despite proxies being used, to assist users in figuring out what the issue is
  • Fixed PEP-8 warning by @​afourney in jdepoix/youtube-transcript-api#396

New Contributors

Full Changelog: https://github.com/jdepoix/youtube-transcript-api/compare/v1.0.1...v1.0.2

v1.0.1

What's Changed

  • Adds a feature to allow proxy configs to prevent the HTTP client from keeping TCP connections open, as keeping TCP connections alive can prevent proxy providers from rotating your IP
    • adds the prevent_keeping_connections_alive() -> bool method to ProxyConfig objects
    • When initializing YouTubeTranscriptApi a Connection: close header will be added to the HTTP client, if a proxy config with prevent_keeping_connections_alive() == True is used
  • Added py.typed by @​jkawamoto in jdepoix/youtube-transcript-api#390

New Contributors

Full Changelog: https://github.com/jdepoix/youtube-transcript-api/compare/v1.0.0...v1.0.1

v1.0.0

What's Changed

  • Overhaul of the public API to move away from the static methods get_transcript, get_transcripts and list_transcripts
    • YouTubeTranscriptApi.get_transcript(video_id) is replaced with YouTubeTranscriptsApi().fetch(video_id)
    • YouTubeTranscriptApi.list_transcripts(video_id) is replaced with YouTubeTranscriptsApi().list(video_id)
    • There is no equivalent for YouTubeTranscriptApi.get_transcript in the new interface, as this doesn't provide any meaningful utility over just running [ytt_api.fetch(video_id) for video_id in video_ids]
    • By calling .fetch and .list on a YouTubeTranscript instance, we can share a HTTP session between all requests, which allows us to share cookies and reduces redundant requests, thereby saving bandwidth and proxy costs.
    • transcript.fetch() now returns a FetchedTranscript object instead of a list of dictionaries. This allows for adding metadata and utility methods to the returned object. You can still convert a FetchedTranscript object to the previously used format by calling fetched_transcript.to_raw_data().
    • You'll find more details on the updated API in the README. The old static methods can still be used, but have been deprecated and will be removed in a future version!
  • Added new exceptions types to make the cause of some common errors more clear and allow for catching/handling them
    • RequestBlocked is now raised if the request has been blocked by YouTube due to a blacklisted IP (which would previously raise TranscriptDisabled #303)
    • AgeRestricted is raised if the video is age restricted and requires cookie authentication (#111)
    • VideoUnplayable is raised if the video is unplayable for an unknown reason. When this happens the error message that YouTube would display on the WebPlayer is returned by the exception, which should make unknown errors more useful. (#219)
  • Added type hierarchy to configure proxies, which can now be passed into the constructor of YouTubeTranscriptApi. All proxy configs are located in the new module youtube_transcript_api.proxies.
    • Generic HTTP/HTTPS/SOCKS proxy can be configured using the GenericProxyConfig class (similarly to how it was done before using the requests dict)
    • Added integration of the proxy provider Webshare, which allows for easily setting up rotating residential proxies using the WebshareProxyConfig
    • You'll find more details on the proxy config classes and how to use them in the README
  • Added the option to pass a HTTP session into the YouTubeTranscriptApi constructor
    • Allows for setting a path to CA_BUNDLE file (#362, #312)
    • Allows for setting custom headers (#316)
    • Allows for sharing HTTP sessions between multiple instance of YouTubeTranscriptApi

... (truncated)

Commits
  • b706276 Merge pull request #409 from jdepoix/release/v1.0.3
  • ee7becd bumped version to v1.0.3
  • 1cf116a Merge pull request #408 from jdepoix/feature/improve-js-var-parsing
  • 4238bc7 refactored parsing of JS var to make it more robust to changes in the formatt...
  • bb08cfa added note on thread-safety to docstring of YouTubeTranscriptApi constructor
  • 090a5db Merge pull request #404 from jdepoix/add-dumpling-ai-sponsor
  • 9594399 Added new sponsor Dumpling AI to README.md!
  • 8a3d602 fixed typo in headers example
  • dc08c3f Merge pull request #398 from jdepoix/feature/rotate-proxy-ip-on-block
  • 25db2d8 bumped version to v1.0.2
  • 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/12535 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 4/7/2025 **Status:** ✅ Merged **Merged:** 4/7/2025 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `dependabot/pip/backend/dev/youtube-transcript-api-1.0.3` --- ### 📝 Commits (1) - [`96ecdc3`](https://github.com/open-webui/open-webui/commit/96ecdc37b3656545a6d5536db72ba21ef8d64ce5) build(deps): bump youtube-transcript-api from 0.6.3 to 1.0.3 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 0.6.3 to 1.0.3. <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.0.3</h2> <h2>What's Changed</h2> <ul> <li>Refactored parsing of the JS var containing the transcript data, to make it more robust to changes in the formatting of the returned HTML</li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/jdepoix/youtube-transcript-api/compare/v1.0.2...v1.0.3">https://github.com/jdepoix/youtube-transcript-api/compare/v1.0.2...v1.0.3</a></p> <h2>v1.0.2</h2> <h2>What's Changed</h2> <ul> <li>Added retry mechanism, which will retry requests when Webshare proxies are used and <code>RequestBlocked</code> is raised, to trigger an IP rotation in case a user encounters a blocked residential IP</li> <li>Added new error messages when <code>RequestBlocked</code> is raised despite proxies being used, to assist users in figuring out what the issue is</li> <li>Fixed PEP-8 warning by <a href="https://github.com/afourney"><code>@​afourney</code></a> in <a href="https://redirect.github.com/jdepoix/youtube-transcript-api/pull/396">jdepoix/youtube-transcript-api#396</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/afourney"><code>@​afourney</code></a> made their first contribution in <a href="https://redirect.github.com/jdepoix/youtube-transcript-api/pull/396">jdepoix/youtube-transcript-api#396</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/jdepoix/youtube-transcript-api/compare/v1.0.1...v1.0.2">https://github.com/jdepoix/youtube-transcript-api/compare/v1.0.1...v1.0.2</a></p> <h2>v1.0.1</h2> <h2>What's Changed</h2> <ul> <li>Adds a feature to allow proxy configs to prevent the HTTP client from keeping TCP connections open, as keeping TCP connections alive can prevent proxy providers from rotating your IP <ul> <li>adds the <code>prevent_keeping_connections_alive() -&gt; bool</code> method to <code>ProxyConfig</code> objects</li> <li>When initializing YouTubeTranscriptApi a <code>Connection: close</code> header will be added to the HTTP client, if a proxy config with <code>prevent_keeping_connections_alive() == True</code> is used</li> </ul> </li> <li>Added py.typed by <a href="https://github.com/jkawamoto"><code>@​jkawamoto</code></a> in <a href="https://redirect.github.com/jdepoix/youtube-transcript-api/pull/390">jdepoix/youtube-transcript-api#390</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/jkawamoto"><code>@​jkawamoto</code></a> made their first contribution in <a href="https://redirect.github.com/jdepoix/youtube-transcript-api/pull/390">jdepoix/youtube-transcript-api#390</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/jdepoix/youtube-transcript-api/compare/v1.0.0...v1.0.1">https://github.com/jdepoix/youtube-transcript-api/compare/v1.0.0...v1.0.1</a></p> <h2>v1.0.0</h2> <h2>What's Changed</h2> <ul> <li>Overhaul of the public API to move away from the static methods <code>get_transcript</code>, <code>get_transcripts</code> and <code>list_transcripts</code> <ul> <li><code>YouTubeTranscriptApi.get_transcript(video_id)</code> is replaced with <code>YouTubeTranscriptsApi().fetch(video_id)</code></li> <li><code>YouTubeTranscriptApi.list_transcripts(video_id)</code> is replaced with <code>YouTubeTranscriptsApi().list(video_id)</code></li> <li>There is no equivalent for <code>YouTubeTranscriptApi.get_transcript</code> in the new interface, as this doesn't provide any meaningful utility over just running <code>[ytt_api.fetch(video_id) for video_id in video_ids]</code></li> <li>By calling <code>.fetch</code> and <code>.list</code> on a <code>YouTubeTranscript</code> instance, we can share a HTTP session between all requests, which allows us to share cookies and reduces redundant requests, thereby saving bandwidth and proxy costs.</li> <li><code>transcript.fetch()</code> now returns a <code>FetchedTranscript</code> object instead of a list of dictionaries. This allows for adding metadata and utility methods to the returned object. You can still convert a <code>FetchedTranscript</code> object to the previously used format by calling <code>fetched_transcript.to_raw_data()</code>.</li> <li>You'll find more details on the updated API in the <a href="https://github.com/jdepoix/youtube-transcript-api?tab=readme-ov-file#---youtube-transcript-api-">README</a>. The old static methods can still be used, but have been deprecated and will be removed in a future version!</li> </ul> </li> <li>Added new exceptions types to make the cause of some common errors more clear and allow for catching/handling them <ul> <li><code>RequestBlocked</code> is now raised if the request has been blocked by YouTube due to a blacklisted IP (which would previously raise <code>TranscriptDisabled</code> <a href="https://redirect.github.com/jdepoix/youtube-transcript-api/issues/303">#303</a>)</li> <li><code>AgeRestricted</code> is raised if the video is age restricted and requires cookie authentication (<a href="https://redirect.github.com/jdepoix/youtube-transcript-api/issues/111">#111</a>)</li> <li><code>VideoUnplayable</code> is raised if the video is unplayable for an unknown reason. When this happens the error message that YouTube would display on the WebPlayer is returned by the exception, which should make unknown errors more useful. (<a href="https://redirect.github.com/jdepoix/youtube-transcript-api/issues/219">#219</a>)</li> </ul> </li> <li>Added type hierarchy to configure proxies, which can now be passed into the constructor of <code>YouTubeTranscriptApi</code>. All proxy configs are located in the new module <code>youtube_transcript_api.proxies</code>. <ul> <li>Generic HTTP/HTTPS/SOCKS proxy can be configured using the <code>GenericProxyConfig</code> class (similarly to how it was done before using the requests dict)</li> <li>Added integration of the proxy provider <a href="https://www.webshare.io/?referral_code=w0xno53eb50g">Webshare</a>, which allows for easily setting up rotating residential proxies using the <code>WebshareProxyConfig</code></li> <li>You'll find more details on the proxy config classes and how to use them in the <a href="https://github.com/jdepoix/youtube-transcript-api?tab=readme-ov-file#working-around-ip-bans-requestblocked-or-ipblocked-exception">README</a></li> </ul> </li> <li>Added the option to pass a HTTP session into the <code>YouTubeTranscriptApi</code> constructor <ul> <li>Allows for setting a path to CA_BUNDLE file (<a href="https://redirect.github.com/jdepoix/youtube-transcript-api/issues/362">#362</a>, <a href="https://redirect.github.com/jdepoix/youtube-transcript-api/issues/312">#312</a>)</li> <li>Allows for setting custom headers (<a href="https://redirect.github.com/jdepoix/youtube-transcript-api/issues/316">#316</a>)</li> <li>Allows for sharing HTTP sessions between multiple instance of <code>YouTubeTranscriptApi</code></li> </ul> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/jdepoix/youtube-transcript-api/commit/b706276cce4f5a21e83cccd8bcbcd2f14e89f441"><code>b706276</code></a> Merge pull request <a href="https://redirect.github.com/jdepoix/youtube-transcript-api/issues/409">#409</a> from jdepoix/release/v1.0.3</li> <li><a href="https://github.com/jdepoix/youtube-transcript-api/commit/ee7becd9fbd476bca1d3780565a6d69a42f1b6fc"><code>ee7becd</code></a> bumped version to v1.0.3</li> <li><a href="https://github.com/jdepoix/youtube-transcript-api/commit/1cf116a341d52534c491396c0c36c9d9559b5846"><code>1cf116a</code></a> Merge pull request <a href="https://redirect.github.com/jdepoix/youtube-transcript-api/issues/408">#408</a> from jdepoix/feature/improve-js-var-parsing</li> <li><a href="https://github.com/jdepoix/youtube-transcript-api/commit/4238bc7e57549e04c7a48793fdb6c1ccda746d8f"><code>4238bc7</code></a> refactored parsing of JS var to make it more robust to changes in the formatt...</li> <li><a href="https://github.com/jdepoix/youtube-transcript-api/commit/bb08cfa0e5ed67755878cae77072f076abbe3daf"><code>bb08cfa</code></a> added note on thread-safety to docstring of YouTubeTranscriptApi constructor</li> <li><a href="https://github.com/jdepoix/youtube-transcript-api/commit/090a5db5f8d1eff39d42e425b6c98f5660cc0e1f"><code>090a5db</code></a> Merge pull request <a href="https://redirect.github.com/jdepoix/youtube-transcript-api/issues/404">#404</a> from jdepoix/add-dumpling-ai-sponsor</li> <li><a href="https://github.com/jdepoix/youtube-transcript-api/commit/9594399d489c3ada77144d2962c82480ef74d558"><code>9594399</code></a> Added new sponsor Dumpling AI to README.md!</li> <li><a href="https://github.com/jdepoix/youtube-transcript-api/commit/8a3d60215634f01a393b20fbf1cb563f4fbd69af"><code>8a3d602</code></a> fixed typo in headers example</li> <li><a href="https://github.com/jdepoix/youtube-transcript-api/commit/dc08c3f1018c93d5420a4dd15b6bbe97969b9901"><code>dc08c3f</code></a> Merge pull request <a href="https://redirect.github.com/jdepoix/youtube-transcript-api/issues/398">#398</a> from jdepoix/feature/rotate-proxy-ip-on-block</li> <li><a href="https://github.com/jdepoix/youtube-transcript-api/commit/25db2d8141b55bc2cb895130e836026e44d05508"><code>25db2d8</code></a> bumped version to v1.0.2</li> <li>Additional commits viewable in <a href="https://github.com/jdepoix/youtube-transcript-api/compare/v0.6.3...v1.0.3">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=0.6.3&new-version=1.0.3)](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 04:31:08 -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#22954