Releases: jdepoix/youtube-transcript-api
Releases · jdepoix/youtube-transcript-api
v0.6.3
What's Changed
- Fix grammatical mistakes in README by @Jai0401 in #287
- Update README.md - cookies extension and instructions for export by @samfisherirl in #339
- [security] defusedxml.ElementTree instead of xml.etree.ElementTree by @vasiliadi in #352
New Contributors
- @Jai0401 made their first contribution in #287
- @samfisherirl made their first contribution in #339
- @vasiliadi made their first contribution in #352
Full Changelog: v0.6.2...v0.6.3
v0.6.2
v0.6.1
v0.6.0
Features
- The optional parameter
preserve_formatting
has been added toYouTubeTranscriptApi.get_transcript
,YouTubeTranscriptApi.get_transcripts
, andTranscript.fetch
. If this is set toTrue
, 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.
v0.5.0
Features
- Added support for formatting
.srt
files using theSRTFormatter
(thanks to @liamrs222!) get_transcript
andget_transcripts
now assert that their input type is correct, as users commonly passed a video id (string) intoget_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!)
v0.4.4
v0.4.3
Fixes
- Fixed bug where
TranscriptsDisabled
wasn't raised properly (thanks to @xenova!) - Fixed Typo in the
FormatterLoader
, which was preventing theWebVTTFormatter
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.
v0.4.2
v0.4.1: Added ability to create consent cookies
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.
v0.4.0
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)