Solved

Search engine API (php)

Posted on 2014-01-08
3
526 Views
Last Modified: 2014-01-14
Hi E's, I want to collect links in my database, for any search I do in search engines.
In old times I use google with a regular expression and I get the results, but unfortunately
They codify the source code.
I want to know what is the best alternative, maybe a API, also in google, for collect links in a search.
besides google that more services are there?

The best regards, JC
0
Comment
Question by:Pedro Chagas
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 110

Assisted Solution

by:Ray Paseur
Ray Paseur earned 300 total points
ID: 39765488
Yes, Google found that people were doing Google searches, collecting the information by scraping the HTML response document, and storing the information.  This enabled people to use Google's information without presenting the advertisements that Google uses to earn its living.  So they fixed it.

You might want to look into the available Google APIs that return JSON or XML.  There may be costs associated with these.
https://developers.google.com/custom-search/
0
 
LVL 3

Author Comment

by:Pedro Chagas
ID: 39767437
Hi Ray, I tried use google custom search, but have not found how to do a global search, just inside a given website search.
Do you have any idea, how I do a global search, or do you thing is better I open a new question?
A good tutorial help too.

The best regards, JC
0
 
LVL 110

Accepted Solution

by:
Ray Paseur earned 300 total points
ID: 39768475
I'm fairly sure you can search by topic, but the free global Google search API may be a thing of the past.  See https://developers.google.com/web-search/docs/ where it is deprecated, pointing us to custom search instead.

I've never tried it, but this looks like it might be promising:
http://blog.programmableweb.com/2012/03/21/duckduckgo-the-search-engine-youve-never-heard-of/

I've never tried this either, but I've used a lot of Yahoo services and they are mostly great.
http://developer.yahoo.com/boss/search/
0

Featured Post

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
There are times when I have encountered the need to decompress a response from a PHP request. This is how it's done, but you must have control of the request and you can set the Accept-Encoding header.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to dynamically set the form action using jQuery.

622 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question