1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Join our Telegram chat: https://t.me/a_parser_en
    Dismiss Notice

Scraping Google translate

Discussion in 'Share Experience' started by Support, Sep 23, 2015.

  1. Support

    Support Administrator
    Staff Member A-Parser Enterprise

    Joined:
    Mar 16, 2012
    Messages:
    4,430
    Likes Received:
    2,123
    In A-Parser exist parser SE::Bing::Translator SE::Bing::Translator. But also popular is Google Translate. Below shows how to parse this service.
    [​IMG]
    • The direction of translation is set in line Query format: sl= - language of source (highlighted in red), tl= - language of results (highlighted in blue)
    Code:
    eyJwcmVzZXQiOiJHb29nbGUgdHJhbnNsYXRlIiwidmFsdWUiOnsicHJlc2V0Ijoi
    R29vZ2xlIHRyYW5zbGF0ZSIsInBhcnNlcnMiOltbIk5ldDo6SFRUUCIsImRlZmF1
    bHQiLHsidHlwZSI6Im92ZXJyaWRlIiwiaWQiOiJmb3JtYXRyZXN1bHQiLCJ2YWx1
    ZSI6IiR0cmFuc2xhdGUuZm9ybWF0KCckcmVzdWx0JylcXG4ifSx7InR5cGUiOiJv
    dmVycmlkZSIsImlkIjoiZGV0ZWN0Y2hhcnNldCIsInZhbHVlIjp0cnVlfSx7InR5
    cGUiOiJvdmVycmlkZSIsImlkIjoicXVlcnlmb3JtYXQiLCJ2YWx1ZSI6Imh0dHBz
    Oi8vdHJhbnNsYXRlLmdvb2dsZS5jb20vdHJhbnNsYXRlX2Evc2luZ2xlP2NsaWVu
    dD10JnNsPXJ1JnRsPWVuJmR0PXQmcT0kcXVlcnkifSx7InR5cGUiOiJjdXN0b21S
    ZXN1bHQiLCJyZXN1bHQiOiJkYXRhIiwicmVnZXgiOiJcXFtcIiguKz8pXCIiLCJy
    ZWdleFR5cGUiOiJnIiwicmVzdWx0VHlwZSI6ImFycmF5IiwiYXJyYXlOYW1lIjoi
    dHJhbnNsYXRlIiwicmVzdWx0cyI6WyJyZXN1bHQiXX1dXSwicmVzdWx0c0Zvcm1h
    dCI6IiRwMS5wc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