开发者

Google search Python script, without using APIs

开发者 https://www.devze.com 2023-03-05 12:22 出处:网络
Most of the Google search python scripts use either WWW::Mechanize or Google APIs. How to write a script without using these and JS开发者_Go百科ON objects?You can construct the URL for the query your

Most of the Google search python scripts use either WWW::Mechanize or Google APIs.

How to write a script without using these and JS开发者_Go百科ON objects?


You can construct the URL for the query yourself, if you like, and then make a request using urllib2 or something of the like. The URLs for Google search queries are explained here.

Of course, really, there's no shame in just using the APIs.

0

精彩评论

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