chore(backend/deps): bump youtube-transcript-api from 0.6.3 to 1.0.3 in /autogpt_platform/backend
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
RequestBlockedis raised, to trigger an IP rotation in case a user encounters a blocked residential IP- Added new error messages when
RequestBlockedis raised despite proxies being used, to assist users in figuring out what the issue is- Fixed PEP-8 warning by
@afourneyin jdepoix/youtube-transcript-api#396New Contributors
@afourneymade their first contribution in jdepoix/youtube-transcript-api#396Full 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() -> boolmethod toProxyConfigobjects- When initializing YouTubeTranscriptApi a
Connection: closeheader will be added to the HTTP client, if a proxy config withprevent_keeping_connections_alive() == Trueis used- Added py.typed by
@jkawamotoin jdepoix/youtube-transcript-api#390New Contributors
@jkawamotomade their first contribution in jdepoix/youtube-transcript-api#390Full 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_transcriptsandlist_transcripts
YouTubeTranscriptApi.get_transcript(video_id)is replaced withYouTubeTranscriptsApi().fetch(video_id)YouTubeTranscriptApi.list_transcripts(video_id)is replaced withYouTubeTranscriptsApi().list(video_id)- There is no equivalent for
YouTubeTranscriptApi.get_transcriptin 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
.fetchand.liston aYouTubeTranscriptinstance, 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 aFetchedTranscriptobject instead of a list of dictionaries. This allows for adding metadata and utility methods to the returned object. You can still convert aFetchedTranscriptobject to the previously used format by callingfetched_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
RequestBlockedis now raised if the request has been blocked by YouTube due to a blacklisted IP (which would previously raiseTranscriptDisabled#303)AgeRestrictedis raised if the video is age restricted and requires cookie authentication (#111)VideoUnplayableis 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 moduleyoutube_transcript_api.proxies.
- Generic HTTP/HTTPS/SOCKS proxy can be configured using the
GenericProxyConfigclass (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
YouTubeTranscriptApiconstructor
... (truncated)
Commits
b706276Merge pull request #409 from jdepoix/release/v1.0.3ee7becdbumped version to v1.0.31cf116aMerge pull request #408 from jdepoix/feature/improve-js-var-parsing4238bc7refactored parsing of JS var to make it more robust to changes in the formatt...bb08cfaadded note on thread-safety to docstring of YouTubeTranscriptApi constructor090a5dbMerge pull request #404 from jdepoix/add-dumpling-ai-sponsor9594399Added new sponsor Dumpling AI to README.md!8a3d602fixed typo in headers exampledc08c3fMerge pull request #398 from jdepoix/feature/rotate-proxy-ip-on-block25db2d8bumped version to v1.0.2- Additional commits viewable in compare view
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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Here's the code health analysis summary for commits 7d10dc4..03fc8c0. View details on DeepSource ↗.
Analysis Summary
| Analyzer | Status | Summary | Link |
|---|---|---|---|
| ✅ Success | View Check ↗ | ||
| ✅ Success | View Check ↗ |
💡 If you’re a repository administrator, you can configure the quality gates from the settings.
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 |
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 |
This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request.
Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly.
This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request.
Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly.
This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request.
@dependabot rebase
Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly.
This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request.
@dependabot rebase
Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly.
This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request.
closing to allow dependabot to recreate
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.