Exemple #1
0
def get_so_results(q):
    q = encode_uri(q)
    feed_url = "http://www.bing.com/search?format=rss&count=5&q=site%3Astackoverflow.com%20" + q
    feed = fp.parse(feed_url)
    return feed["items"]
Exemple #2
0
def get_so_results(q):
    q = encode_uri(q)
    feed_url = "http://www.bing.com/search?format=rss&count=5&q=site%3Astackoverflow.com%20"+q
    feed = fp.parse(feed_url)
    return feed["items"]
Exemple #3
0
def get_bing_results(q):
    q = encode_uri(q)
    feed_url = "http://www.bing.com/search?format=rss&count=5&q=" + q
    feed = fp.parse(feed_url)
    return feed["items"]
Exemple #4
0
def get_bing_results(q):
    q = encode_uri(q)
    feed_url = "http://www.bing.com/search?format=rss&count=5&q="+q
    feed = fp.parse(feed_url)
    return feed["items"]