💾 Archived View for runjimmyrunrunyoufuckerrun.com › rc › gtrans captured on 2021-12-17 at 13:26:06.

View Raw

More Information

-=-=-=-=-=-=-

#!/bin/rc
if(~ $#* 2){
	from  = $1
	to = $2
}
if not{
	from = auto
	to = en
}
hget 'https://translate.googleapis.com/translate_a/single?client=gtx&sl='^$from^'&tl='^$to^'&dt=t&q='^`{urlencode} | sed 's/[^"]*"([^"]*).*/\1/;q'