Scrape Google Produts Suggestion Keywords

i want grab a keywords from google products page

look image attachment. google suggestion
Who is Participating?
Wayne Taylor (webtubbs)Connect With a Mentor Commented:
What keywords? The "items recently found"? If so, this function will return a List(Of String) containing the items.

    Public Function GetGoogleProductItems()
        Dim ItemList As New List(Of String)
        Using wc As New System.Net.WebClient
            Dim html As String = wc.DownloadString("")
            Dim patt As String = "href=""/products\?q=(.*?)&sampleq=1"
            Dim Items As System.Text.RegularExpressions.MatchCollection = System.Text.RegularExpressions.Regex.Matches(html, patt)
            For Each item As System.Text.RegularExpressions.Match In Items
                ItemList.Add(item.Groups(1).Value.Replace("+", " "))
        End Using
        Return ItemList
    End Function

Open in new window

ansoriAuthor Commented:
its ajax
i think he open js function from /////
but i dont have a clue
Wayne Taylor (webtubbs)Commented:
>>but i dont have a clue
Neither do I. I don't understand what you're talking about.

What exactly from the image you uploaded do you want to retrieve?
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

ansoriAuthor Commented:
buckwheat pillow microwave
buckwheat pillow queen size
Wayne Taylor (webtubbs)Commented:
Nope, no idea how to get that, sorry.
ansoriAuthor Commented:
not completed
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.