开发者

Google: how many letters may be in a google search string?

开发者 https://www.devze.com 2023-01-27 14:09 出处:网络
Dumb question, but somehow interesting. Is it just thr $_GET-limit or do they have so开发者_Python百科me other techniques ? For the Google Search API:

Dumb question, but somehow interesting. Is it just thr $_GET-limit or do they have so开发者_Python百科me other techniques ?


For the Google Search API:

There is a limit of 320 characters returned for each meta tag when using getfields.

Usage

GET /search?q=[search term]&output=xml&client=test&site=test&getfields=[meta tag name]

http://code.google.com/apis/searchappliance/documentation/50/xml_reference.html


2048 is the right answer

<input autocomplete="off" class="lst" type="text" name="q" maxlength="2048" value="" title="Search" spellcheck="false">

hope so it will help you.


LOL. check the HTML input maxlength on google homepage.

<input autocomplete="off" class="lst" type="text" name="q" maxlength="2048" value="" title="Search" spellcheck="false">
0

精彩评论

暂无评论...
验证码 换一张
取 消