- update to 2.1.1
* Debug mode now uses a copy of locals() to prevent RuntimeError (`#213 <https://github.com/pndurette/gTTS/issues/213>`_)
* Added the ability to customize the Google Translate URL hostname.
This is useful when ``google.com`` might be blocked within a network but
a local or different Google host (e.g. ``google.cn``) is not
* Pre-generated TTS API request URLs can now be obtained instead of
writing an ``mp3`` file to disk (for example to be used in an
external program)
* New ``--tld`` option to match the new ``gtts`` customizable hostname
* Added Python 3.8 support
OBS-URL: https://build.opensuse.org/request/show/791742
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gTTS?expand=0&rev=9
- Update to 2.0.3:
* Added new tokenizer case for ':' preventing cut in the middle of
a time notation
- Update to 2.0.2:
Features
* Added Python 3.7 support, modernization of packaging, testing and CI
Bugfixes
* Fixed language retrieval/validation broken from new Google Translate page
- Update to 2.0.1:
Bugfixes
* Fixed an UnicodeDecodeError when installing gTTS if system locale was
not utf-8
Improved Documentation
* Added Pre-processing and tokenizing > Minimizing section about the API's
100 characters limit and how larger tokens are handled
- Update to 2.0.0:
Features
* The gtts module
+ New logger ("gtts") replaces all occurrences of print()
+ Languages list is now obtained automatically (gtts.lang)
+ Added a curated list of language sub-tags that have been observed to
provide different dialects or accents (e.g. "en-gb", "fr-ca")
+ New gTTS() parameter lang_check to disable language checking.
+ gTTS() now delegates the text tokenizing to the API request methods (i.e.
write_to_fp(), save()), allowing gTTS instances to be modified/reused
+ Rewrote tokenizing and added pre-processing (see below)
+ New gTTS() parameters pre_processor_funcs and tokenizer_func to configure
pre-processing and tokenizing (or use a 3rd party tokenizer)
+ Error handling:
- Added new exception gTTSError raised on API request errors. It attempts
OBS-URL: https://build.opensuse.org/request/show/670774
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gTTS?expand=0&rev=3