Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(3)  |  Derive(0)  |  Import(3)

src/w/i/willie-4.3.0/willie/modules/xkcd.py   willie(Download)
import re
from willie import web
from willie.modules.search import google_search
from willie.module import commands
 
    except:
        pass
    url = google_search(query + sites_query)
    match = re.match('(?:https?://)?xkcd.com/(\d+)/?', url)
    if match:

src/w/i/willie-HEAD/willie/modules/xkcd.py   willie(Download)
import re
from willie import web
from willie.modules.search import google_search
from willie.module import commands
 
def google(query):
    url = google_search(query + sites_query)
    match = re.match('(?:https?://)?xkcd.com/(\d+)/?', url)
    if match:
        return match.group(1)

src/n/a/nashdevbot-HEAD/modules/xkcd.py   nashdevbot(Download)
 
import random
from willie.modules.search import google_search
from willie.modules.url import find_title
import urllib2
                except:
                    pass
                website = google_search("site:xkcd.com "+ query)
                chkForum = re.match(re.compile(r'.*?([0-9].*?):.*'), find_title(website)) # regex for comic specific forum threads
                if (chkForum):