EvilZone

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

Title: [Source] GBScrape.py
Post by: daxda on 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:
Code: [Select]
<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)
Title: Re: [Source] GScrape.py
Post by: free.winge on November 04, 2013, 01:14:36 PM
Thanks for sharing.
Bing is also a good choice if  you have api key 8)
Title: Re: [Source] GScrape.py
Post by: ArkPhaze on 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)