示例#1
0
def pydocs(version, query):
    return URL(
        f"https://docs.python.org/{version}/search.html",
        q=query,
        check_keywords="yes",
        area="default",
    )
示例#2
0
def search_wolfram_alpha(arg):
    return URL("https://www.wolframalpha.com/input/", i=arg)
示例#3
0
def search_github(arg):
    return URL("https://github.com/search", q=arg)
示例#4
0
def search_google(arg):
    return URL("https://www.google.com/search", q=arg)
示例#5
0
def search_mdn(arg):
    return URL("https://developer.mozilla.org/en-US/search", q=arg)
示例#6
0
def search_symbolhound(arg):
    return URL("http://symbolhound.com/", q=arg)
示例#7
0
def search_youtube(arg):
    return URL("https://www.youtube.com/results", search_query=arg)
示例#8
0
def search_ddg(arg):
    return URL("https://duckduckgo.com/", q=arg, t="h_", ia="web")