In webbrow.prg to display the text on the website?
Posted: Sun Dec 24, 2017 9:17 am
In webbrow.prg or Xb2net to obtain the text displayed on the window, in the value of a variable?
***** Получить текст сайта, используя HTTP (GetWeb.prg, Boris Borzic)
oHttp := xbHTTPClient():new()
oHttp:Transport := VIA_WININET
oResponse := oHttp:Execute( 'http://translate.yandex.ru/?lang=ru-en& ... 0%B8%D1%80!' )
mABC = oResponse:Content
StrFile(mABC, 'WebsiteTranslator.txt')
For some reason the translation is not contained in the received code from the site. A word for translation it is.
How to programmatically get the translated file from a translator online?
***** Получить текст сайта, используя HTTP (GetWeb.prg, Boris Borzic)
oHttp := xbHTTPClient():new()
oHttp:Transport := VIA_WININET
oResponse := oHttp:Execute( 'http://translate.yandex.ru/?lang=ru-en& ... 0%B8%D1%80!' )
mABC = oResponse:Content
StrFile(mABC, 'WebsiteTranslator.txt')
For some reason the translation is not contained in the received code from the site. A word for translation it is.
How to programmatically get the translated file from a translator online?