mildfoam — 2012-12-03T22:31:08-05:00 — #1
i am going to create very basic web apps that fetch (scrape) all site search result. here is an example from me : click here. You can see that I've send any query to this site from the left menu (Rincian Pencarian Anda) then it return some results list.
Here is my big problem, i want to fetch all search result from this site to my site (don't worry about copyright cause i have read any rules that allowed to fetch the site result).
I am going to use PHP with cURl exts.
starlion — 2012-12-05T08:21:37-05:00 — #2
So... what's your specific question?
mildfoam — 2012-12-05T11:35:32-05:00 — #3
i want to fetch the result content (html) from that site then show them in my own site.
logic_earth — 2012-12-05T12:04:26-05:00 — #4
Okay...and what exactly is stopping you from doing that?
Btw, questions are followed by a "?" question mark, none of your post have one.
mildfoam — 2012-12-05T13:31:48-05:00 — #5
OK now i am builded a form that the visitor can choose the same option with the ticket.com site. So, i will need to send this option value to next page that will query to ticket.com and show the result to my site (i hope i can get the search result only not all website content)
my site (form with some option list) -> send the value to ticket.com -> get the result and display to my site.
is this need curl function? thank you sir.
starlion — 2012-12-06T08:38:01-05:00 — #6
You can use CURL, or file_get_contents if your site allows remote URL references, and the site in question accepts all its parameters via GET.
Incidentally, I read the rules that you claim to have read, and they state very specifically that you MAY NOT scrape their site without written permission of the company. I would suggest you go back and read again.