Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Most of the following answer is for the particular case of google translate. In most cases, you'll just need to parse the <code>&lt;frameset&gt;</code> and pull out whichever frame you're looking for, though it might not be immediately obvious which is the main one from the HTML (perhaps look at the relative sizing of the frames).</p> <p>It looks like you're going to have to follow a few refreshes to get the actual content. In particular, when you grab the URL you just mentioned, you'll see something like</p> <pre><code> *snip* &lt;noframes&gt; &lt;script&gt; &lt;!--document.location="/translate_p?hl=en&amp;amp;ie=UTF-8&amp;amp;sl=zh-CN&amp;amp;tl=en&amp;amp;u=http://www.baidu.com/s%3Fwd%3Dr%2520project&amp;amp;prev=_t&amp;amp;usg=asdf";--&gt; &lt;/script&gt; &lt;a href="/translate_p?hl=en&amp;amp;ie=UTF-8&amp;amp;sl=zh-CN&amp;amp;tl=en&amp;amp;u=http://www.baidu.com/s%3Fwd%3Dr%2520project&amp;amp;prev=_t&amp;amp;usg=asdf"&gt;Translate &lt;/a&gt; &lt;/noframes&gt; *snip* </code></pre> <p>If you follow the link here (remember to unescape '&amp;' first), it'll give you another small HTML fragment which includes</p> <pre><code>&lt;meta http-equiv="refresh" content="0;URL=http://translate.googleusercontent.com/translate_c?hl=en&amp;amp;ie=UTF-8&amp;amp;sl=zh-CN&amp;amp;tl=en&amp;amp;u=http://www.baidu.com/s%3Fwd%3Dr%2520project&amp;amp;prev=_t&amp;amp;rurl=translate.google.com&amp;amp;usg=asdf"&gt; </code></pre> <p>Again, unescaping the '&amp;' and then following the refresh, you'll have the translated page that you're looking for.</p> <p>Play with this in wget or curl and it should become more clear what you're going to need to do.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload