Demo entry 6324394

1

   

Submitted by anonymous on Nov 16, 2016 at 09:23
Language: Python. Code size: 414 Bytes.

def do_search(self):
        try:
            urly="http://" + self.server + "/search?num=" + self.quantity + "&start=" + str(self.counter) + "&hl=en&meta=&q=%40\"" + self.word + "\""
        except Exception, e:
            print e
        try:
            r=requests.get(urly)
        except Exception,e:
            print e
        self.results = r.content 
        self.totalresults += self.results

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).