youtube-transcript-api/youtube_transcript_api
Chris Howell c78a37b115 Update _cli.py
Add formats factory instance that uses the `parsed_args.format` arg to retrieve the formatter class, defaults to JSON if not passed or if given a bad/mistyped name.

Might consider error in the case of a bad name given. Shouldn't be too difficult to add that ability if its wanted.
2020-07-08 15:23:10 -07:00
..
test replace CLI json arg with format in test_cli.py 2020-07-08 15:14:32 -07: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 Add format kwarg to method calls to pass around 2020-07-08 15:20:47 -07:00
_cli.py Update _cli.py 2020-07-08 15:23:10 -07: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