EvilZone

Programming and Scripting => Scripting Languages => : daxda November 02, 2013, 06:39:20 PM

: [Source] GBScrape.py
: daxda November 02, 2013, 06:39:20 PM
Today I've created a very basic Google and Bing result scraper, it harvests the links from your specified search and prints them out.
As you know, free code, do what you want! Feedback, improvements, critique and so forth are as always welcome!

Update: rewritten the script as Factionwars said the following:
:
<Factionwars>:    ...I'll be straight to the point with you...
<Factionwars>:    SKID
<Factionwars>:    SKID
<Factionwars>:    Quit using urllib

So here it goes, a modified and completely rewritten version of it, now with Bing support:

[gist]Daxda/7486514[/gist]

View the old version here (https://gist.github.com/Daapii/7281439)
: Re: [Source] GScrape.py
: free.winge November 04, 2013, 01:14:36 PM
Thanks for sharing.
Bing is also a good choice if  you have api key 8)
: Re: [Source] GScrape.py
: ArkPhaze November 07, 2013, 01:28:14 AM
Thanks for sharing.
Bing is also a good choice if  you have api key 8)

Bing also has a suggestions API: http://api.bing.com/qsonhs.aspx?FORM=ASAPIH&q=test (http://api.bing.com/qsonhs.aspx?FORM=ASAPIH&q=test)