Hi, I'm a beginner in C++ and I need some help how to get a website's source code and save it into a string.
Oh, and also: how can I then search the source for a specific keyword AND how can I "extract" a word between 2 keywords ? Here's what I mean:
$source = _INetGetSource("http://www.google.com") ; get websites source $stringBetween = _StringBetween($source,"a keyword","second keyword") ; this extracts a word between those two keywords If StringInStr($source, "Google") Then ; this searches the source for a keyword Google ; do something EndIf
This code is in autoit and I hope it'll help you understand what I need help with.