Solved

Search engine API (php)

Posted on 2014-01-08
3
503 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
  • 2
3 Comments
 
LVL 109

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 109

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

792 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