php - A question about google search
淡淡烟草味
淡淡烟草味 2017-05-24 11:30:43
0
1
663

Use PHP to create a search function, which can be understood as a simple global keyword search [without any word delineation and intelligent recognition in it]

For example, if I want to search for the keyword "segmentfault",
I want to add "Show both Baidu search resultsand googlesearch results"## under the search box. #Now Baidu search results have been implemented, it is not difficult.
The key is Google, the problem of circumventing the firewall.

I now have such an idea, can you guys take a look?

Rent a foreign VPS. When I search for "segmentfault", I will cross-domain request the foreign VPS through the domestic VPS to search for this keyword on Google, and then return the corresponding Google results to the domestic VPS. VPS.
I know that there are many methods in China that use Google mirroring. I think this method is not very reliable. It is often blocked and requires frequent node changes.

The deeper question is, is there any way to make the request I described above sustainable and stable.

Thank you everyone, I don’t know if I made it clear.

淡淡烟草味
淡淡烟草味

reply all(1)
伊谢尔伦

Just add the proxy of the foreign server to your domestic server. Use the proxy when accessing Google. (The proxy can be ShadowSocks)

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template