Youtube-transcript-api

Latest version: v0.6.3

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

Scan your dependencies

Page 1 of 4

0.6.3

What's Changed
* Fix grammatical mistakes in README by Jai0401 in https://github.com/jdepoix/youtube-transcript-api/pull/287
* Update README.md - cookies extension and instructions for export by samfisherirl in https://github.com/jdepoix/youtube-transcript-api/pull/339
* [security] defusedxml.ElementTree instead of xml.etree.ElementTree by vasiliadi in https://github.com/jdepoix/youtube-transcript-api/pull/352

New Contributors
* Jai0401 made their first contribution in https://github.com/jdepoix/youtube-transcript-api/pull/287
* samfisherirl made their first contribution in https://github.com/jdepoix/youtube-transcript-api/pull/339
* vasiliadi made their first contribution in https://github.com/jdepoix/youtube-transcript-api/pull/352

**Full Changelog**: https://github.com/jdepoix/youtube-transcript-api/compare/v0.6.2...v0.6.3

0.6.2

Not secure
Fixes
- YouTube has made some changes which caused the `translationLanguages` key to sometimes be missing from the captions json. This release adjusts the fetching process to initialize `translation_languages` with an empty list in case that happens.

0.6.1

Not secure
Fixes
- Fixed transcript list not showing display names for languages in English

0.6.0

Not secure
Features
- The optional parameter `preserve_formatting` has been added to `YouTubeTranscriptApi.get_transcript`, `YouTubeTranscriptApi.get_transcripts`, and `Transcript.fetch`. If this is set to `True`, formatting elements such as `<i>` (italics) and `<b>` (bold) are no longer removed from the transcript. (thanks to eseiver!)
- Using the URL of a YouTube video instead of it's video ID will no throw a `InvalidVideoId` exception.

0.5.0

Not secure
Features
- Added support for formatting `.srt` files using the `SRTFormatter` (thanks to liamrs222!)
- `get_transcript` and `get_transcripts` now assert that their input type is correct, as users commonly passed a video id (string) into `get_transcripts` although it expects a list. Since a string is an iterable the module tried to find a video for each character of that string, which failed with a not-so-helpful error message. (thanks to majamil16!)

0.4.4

Not secure
Fixes
- Transcript language list is now properly escaped, thereby fixing a decoding error which would occur on transcripts for languages containing `"` in their name (like `Estnisch - "Raev"`)

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.