youtube-transcript-api/youtube_transcript_api
Chris Howell dca4021dd7 Add formatters module
Add formatters module that contains a few basic built-in formatters for JSON, SRT, and an arbitrary plain TEXT. Mainly for examples of implementing your own.

Module contains an abstract base class `TranscriptFormatter` so that anyone can create their own TranscriptFormatter class

Module contains at runtime a `formats` which is basically an instance of a factory of classes (not sure if that is the correct term to use). But it itself is an instance that folks can add custom formatter classes that the API can make use of.
2020-07-08 15:05:17 -07:00
..
test Redid errors for cookies, improved testing coverage 2020-01-30 21:53:18 -08:00
__init__.py Redid errors for cookies, improved testing coverage 2020-01-30 21:53:18 -08:00
__main__.py test suite and corresponding tooling added 2019-03-14 17:04:34 +01:00
_api.py Redid errors for cookies, improved testing coverage 2020-01-30 21:53:18 -08:00
_cli.py Added cli support, fixed testing 2020-01-20 23:04:46 -08:00
_errors.py Redid errors for cookies, improved testing coverage 2020-01-30 21:53:18 -08:00
_html_unescaping.py test suite and corresponding tooling added 2019-03-14 17:04:34 +01:00
_settings.py refactored the way transcript information is retrieved and thereby improved error messages 2019-12-08 14:40:57 +01:00
_transcripts.py added public list_transcripts method 2019-12-30 15:20:47 +01:00
formatters.py Add formatters module 2020-07-08 15:05:17 -07:00