AutoGPT icon indicating copy to clipboard operation
AutoGPT copied to clipboard

chore(backend/deps): bump youtube-transcript-api from 0.6.3 to 1.0.3 in /autogpt_platform/backend

Open dependabot[bot] opened this issue 9 months ago • 7 comments

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)

dependabot[bot] avatar Apr 07 '25 19:04 dependabot[bot]

Here's the code health analysis summary for commits 7d10dc4..03fc8c0. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource JavaScript LogoJavaScript✅ SuccessView Check ↗
DeepSource Python LogoPython✅ SuccessView Check ↗

💡 If you’re a repository administrator, you can configure the quality gates from the settings.

deepsource-io[bot] avatar Apr 07 '25 19:04 deepsource-io[bot]

Deploy Preview for auto-gpt-docs-dev canceled.

Name Link
Latest commit 03fc8c048227e00ba6b63b1461a9cfefe99b4da0
Latest deploy log https://app.netlify.com/projects/auto-gpt-docs-dev/deploys/6841bcc984747400088bac61

netlify[bot] avatar Apr 07 '25 19:04 netlify[bot]

Deploy Preview for auto-gpt-docs canceled.

Name Link
Latest commit 03fc8c048227e00ba6b63b1461a9cfefe99b4da0
Latest deploy log https://app.netlify.com/projects/auto-gpt-docs/deploys/6841bcc955813a0008407324

netlify[bot] avatar Apr 07 '25 19:04 netlify[bot]

This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request.

github-actions[bot] avatar Apr 08 '25 20:04 github-actions[bot]

Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly.

github-actions[bot] avatar Apr 08 '25 20:04 github-actions[bot]

This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request.

github-actions[bot] avatar Apr 24 '25 08:04 github-actions[bot]

Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly.

github-actions[bot] avatar Apr 24 '25 08:04 github-actions[bot]

This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request.

github-actions[bot] avatar May 16 '25 10:05 github-actions[bot]

@dependabot rebase

ntindle avatar May 30 '25 15:05 ntindle

Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly.

github-actions[bot] avatar May 30 '25 15:05 github-actions[bot]

This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request.

github-actions[bot] avatar Jun 04 '25 15:06 github-actions[bot]

@dependabot rebase

ntindle avatar Jun 05 '25 15:06 ntindle

Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly.

github-actions[bot] avatar Jun 05 '25 15:06 github-actions[bot]

This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request.

github-actions[bot] avatar Jun 06 '25 20:06 github-actions[bot]

closing to allow dependabot to recreate

Swiftyos avatar Jun 11 '25 14:06 Swiftyos

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

dependabot[bot] avatar Jun 11 '25 14:06 dependabot[bot]