in reply to Download audio from google translate

So, which modules did you look at?

What are the tasks you want to do to do the downloads?

The most commonly used module for web downloads will likely be LWP::UserAgent and WWW::Mechanize.

You have reviewed the terms of service of Google to make certain that what you want to do is in line with them.

  • Comment on Re: Download audio from google translate

Replies are listed 'Best First'.
Re^2: Download audio from google translate
by palkia (Monk) on Apr 03, 2016 at 05:34 UTC
    I mostly went over the following 3:
    Lingua-Translate-Google
    WWW-Google-Translate
    Speech-Google-TTS
    However, 2 of which claim to require some kind of electronic payment to google (not an option for me), and the 3rd doesn't seem to use the translation option and seems similar to 1 of the 2, so probably have the same requirement (although I could be wrong about that), and is unrated and so of unknown reliability.

    I mostly want the files in order to see if they can be used effectively to expand my vocabulary.

    The 2 modules you have specified are (vaguely) familiar to me, but I think they are too general and will probably won't be of much use to me (as a novice) for this task considering that google translate doesn't offer any simple "click to download" options as far as I know.
    I was looking for modules more google-translate-specific such as the above 3 examples.

    I did not read any "terms of service" of google, however as mentioned above (in this replay) I want the downloaded files for personal non-commercial use, so I doubt google would object.

    Suggestions?
    Thx
      I did not read any "terms of service" of google, however as mentioned above (in this replay) I want the downloaded files for personal non-commercial use, so I doubt google would object.

      Just a suggestion. You might want to actually look into Google's terms of service (and other information) and re-evaluate your conclusion.

      • Google Translate API Terms of Service
        • Excerpts:
          • "The Google Translate API is provided to you without any free usage quota at all. You will be charged for each successful request you make through the Translate API."
          • "You may not access the Translate API in a manner intended to avoid incurring fees."
      • Google Translate API FAQ
        • Excerpts from answers:
          • "No, the Google Translate API is only available as a paid service."
          • "The decision to deprecate the API and replace it with the paid service was made due to the substantial economic burden caused by extensive abuse."

      My personal impression is that you will not able to use the Google Translate API without paying fees. And if they changed to a pay only model on the API, I wouldn't be surprised if they may also decide to try to detect and possibly block attempts to automate their web interface to their translate service.

        Thank you, that was very informative (unfortunately ^^).
        Conclusion hereby re-evaluated :-)

        I suppose I could just make a mass manual translation, but I will still be faced with the text-to-voice issue.
        I used to do so 1 by 1 and download audio manually via the Firefox integration with my IDM app, but it unexpectedly stopped functioning for google translate since one of my Firefox updates.
        Any suggestions ?