From bc0eb32d9bc83dcbe37de294ab844e19d66493da Mon Sep 17 00:00:00 2001 From: Steven Smith Date: Tue, 3 Sep 2013 19:41:53 +0800 Subject: [PATCH] Hulu command help --- plugins/hulu.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/hulu.py b/plugins/hulu.py index 532939b..2d9bdb4 100644 --- a/plugins/hulu.py +++ b/plugins/hulu.py @@ -15,6 +15,7 @@ def hulu_url(match): @hook.command('hulu') def hulu_search(inp): + """hulu - Search Hulu""" result = http.get_soup("http://m.hulu.com/search?dp_identifier=hulu&{}&items_per_page=1&page=1".format(urlencode({'query': inp}))) data = result.find('results').find('videos').find('video') showname = data.find('show').find('name').text