Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

INetGet not applying filters in google search

$
0
0

I'm trying to download the search results at https://www.google.co.uk/search?q=HSBC&safe=off&hl=en&gl=uk&biw=1920&bih=979&sa=X&ei=jKG8UYLfGYKqOrbIgOgJ&ved=0CCAQpwUoBg&source=lnt&tbs=cdr%3A1%2Ccd_min%3A15%2F06%2F2013%2Ccd_max%3A16%2F06%2F2013&tbm=nws

 

 

 

My code looks like this:

  1. #include <Array.au3>
  2. #include <Inet.au3>
  3.  
  4. Local $sKeyword = 'HSBC'
  5. Local $sSource = _INetGetSource('https://www.google.co.uk/search?q=HSBC&safe=off&hl=en&gl=uk&biw=1920&bih=979&sa=X&ei=jKG8UYLfGYKqOrbIgOgJ&ved=0CCAQpwUoBg&source=lnt&tbs=cdr%3A1%2Ccd_min%3A15%2F06%2F2013%2Ccd_max%3A16%2F06%2F2013&tbm=nws')
  6.  
  7. ConsoleWrite ( $sSource)

Now if I copy the output text from ConsoleWrite() and save as an html file, opening that in the browser shows different search results from using the first url directly in the browser.

 

If anybody can find the issue I'd be very grateful. I'm very inexperienced with AutoIt so apologies if looks silly.


Viewing all articles
Browse latest Browse all 12506

Trending Articles