How to get search links in google using javascript

0

First of all, yes, I've already checked the APIs provided by Google, such as Google Web Search (discontinued) and the new Google Custom Search, which I've seen works only for searches within a specified site. What I want is to get only the first links of a given search (on every web), preferably if it were possible to do this in Javascript. Is there a way to do this without having to use APIs, something like google.com/search?q=teste and get the results? Thankful.

    
asked by anonymous 13.05.2017 / 20:43

1 answer

0

Speak Ablon, all right?

I've been searching here, apparently not any API to do this service.

I once did a data scraping (technique of reading an html and extracting information), but it's a bit annoying to do without using anything. You need to find the page's response pattern, that is, the default way of assembling the elements and filtering them through regular expressions.

Let me ask you, if you want to do this where? By the same browser or will it do on some backend?

    
13.05.2017 / 21:50