Fixed an encoding issue for Windows machines receiving an error due to Lines 24-27: `UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 119434: character maps to <undefined>`. Adjusted test_api.py to fix an issue when the format=None isnt passed with mock test raising: `AssertionError: get_transcript('video_id_1', ['de', 'en'], None, None) call not found` Added `import json` to convert test data for json data into a string for 1 or many json transcripts to keep in line with how the formatters are eventually returned as strings. |
||
---|---|---|
.. | ||
test | ||
__init__.py | ||
__main__.py | ||
_api.py | ||
_cli.py | ||
_errors.py | ||
_html_unescaping.py | ||
_settings.py | ||
_transcripts.py | ||
formatters.py |