Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update gtts to 2.1.1 #300

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

pyup-bot
Copy link
Collaborator

@pyup-bot pyup-bot commented May 3, 2020

This PR updates gtts from 2.0.4 to 2.1.1.

Changelog

2.1.1

------------------

Bugfixes
~~~~~~~~

- Debug mode now uses a copy of locals() to prevent RuntimeError (`213 <https://github.com/pndurette/gTTS/issues/213>`_)

2.1.0

------------------

Features
~~~~~~~~

- The ``gtts`` module

- 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
 (`143 <https://github.com/pndurette/gTTS/issues/143>`_, `203 <https://github.com/pndurette/gTTS/issues/203>`_):

 - New ``gTTS()`` parameter ``tld`` to specify the top-level
   domain to use for the Google hostname, i.e ``https://translate.google.<tld>``
   (default: ``com``).
 - Languages are also now fetched using the same customized hostname.

- 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 ``get_urls()`` method returns the list of URLs generated by ``gTTS``,
   which can be used in lieu of ``write_to_fp()`` or ``save()``.

- The ``gtts-cli`` command-line tool

- New ``--tld`` option to match the new ``gtts`` customizable hostname (`200 <https://github.com/pndurette/gTTS/issues/200>`_, `207 <https://github.com/pndurette/gTTS/issues/207>`_)

- Other

- Added Python 3.8 support (`204 <https://github.com/pndurette/gTTS/issues/204>`_)


Bugfixes
~~~~~~~~

- Changed default word-for-word pre-processor (``('M.', 'Monsieur')``) which would substitute any 'm.' for 'monsieur' (e.g. 'them.' became 'themonsieur') (`197 <https://github.com/pndurette/gTTS/issues/197>`_)


Improved Documentation
~~~~~~~~~~~~~~~~~~~~~~

- Added examples for newer features (`205 <https://github.com/pndurette/gTTS/issues/205>`_, `207 <https://github.com/pndurette/gTTS/issues/207>`_)


Misc
~~~~

- `204 <https://github.com/pndurette/gTTS/issues/204>`_, `205 <https://github.com/pndurette/gTTS/issues/205>`_, `207 <https://github.com/pndurette/gTTS/issues/207>`_
Links

@coveralls
Copy link

Coverage Status

Coverage remained the same at 14.329% when pulling 3e4be4a on pyup-update-gtts-2.0.4-to-2.1.1 into c60020b on master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage remained the same at 14.329% when pulling 3e4be4a on pyup-update-gtts-2.0.4-to-2.1.1 into c60020b on master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants