overhauled help
This commit is contained in:
parent
0fdf370733
commit
c58192f72c
58 changed files with 124 additions and 117 deletions
|
@ -8,7 +8,7 @@ search_url = "http://search.atomz.com/search/?sp_a=00062d45-sp00000000"
|
|||
|
||||
@hook.command
|
||||
def snopes(inp):
|
||||
".snopes <topic> -- searches snopes for an urban legend about <topic>"
|
||||
".snopes <topic> -- Searches snopes for an urban legend about <topic>."
|
||||
|
||||
search_page = http.get_html(search_url, sp_q=inp, sp_c="1")
|
||||
result_urls = search_page.xpath("//a[@target='_self']/@href")
|
||||
|
|
Reference in a new issue