Google search Python script, without using APIs
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.
精彩评论