Youtube-transcript-api

Latest version: v0.6.3

Safety actively analyzes 685670 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 4

0.4.3

Not secure
Fixes
- Fixed bug where `TranscriptsDisabled` wasn't raised properly (thanks to xenova!)
- Fixed Typo in the `FormatterLoader`, which was preventing the `WebVTTFormatter` from being loaded properly (thanks to MAJA-Lin!)

Breaking
- Dropped support for python 2.7. While this module should currently still run on python 2.7, it has been removed from the travis builds, therefore, there is no assurance that future versions will run with python 2.7.

0.4.2

Not secure
Fixes:

- Timestamp formatting in `WebVTTFormatter` has been fixed
- When requests to YouTube return an error status code, a `YouTubeRequestFailed` exception is raised, wrapping the status code and error message

0.4.1

Not secure
Fixes:

As of lately YouTube will occasionally return a page which requires the user to give consent to cookies being saved. Whenever this page was returned this this module was not able to process the response. Now it is able to recognise this case and create a consent cookie if needed.

0.4.0

Not secure
Features:

* Added support for different formatters, including support for WebVVT (thanks crhowell!)
* Added distinct error message which appears when running into rate limits (thanks kovan)

Fixes:

* CLI now also supports video IDs starting with a dash (thanks crhowell)
* Documentation improvements (thanks dafiulh)

0.3.1

Not secure
Changes:

- Typos in Documentation fixed.

0.3.0

Not secure
Changes:
- added support for using cookies, to be able to retrieve age restricted videos
- API usage: `YouTubeTranscriptApi.get_transcript(video_id, cookies='/path/to/your/cookies.txt')`
- CLI usage: `youtube_transcript_api <first_video_id> <second_video_id> --cookies /path/to/your/cookies.txt
`

Thanks to danielcliu for the contribution!

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.