Commit Graph

11 Commits

Author SHA1 Message Date
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
danielcliu f9e553ebaf Added cli support, fixed testing 2020-01-20 23:04:46 -08:00
Jonas Depoix 7159f60823 fixed bug in cli where no transcript could be retrieved if no language was specified 2019-12-31 00:11:52 +01:00
Jonas Depoix 936ef3c1d0 added list-transcripts param to cli 2019-12-30 17:40:32 +01:00
Jonas Depoix f8416ab004 added new params to cli to make new features accessible using the cli 2019-12-30 17:36:48 +01:00
Jonas Depoix 4b75a47a74 get_transcripts now returns a list of exceptions instead of video ids of failed videos 2019-12-30 16:13:18 +01:00
Jonas Depoix c65cf27def fixed bug reported in ISSUE-19 2019-07-22 13:11:52 +02:00
Jonas Depoix 0151413ad1 API no longer logs to error 2019-07-15 15:48:01 +02:00
Danny Aziz a9270f67fd Refactored Tests 2019-03-19 13:34:17 +00:00
Danny Aziz 86cd1666c0 Rebased on PR #11 and added tests 2019-03-16 16:23:42 +00:00
Jonas Depoix 94e4e4063f test suite and corresponding tooling added 2019-03-14 17:04:34 +01:00