commit
6a325b5333
|
@ -15,6 +15,7 @@ def hulu_url(match):
|
|||
|
||||
@hook.command('hulu')
|
||||
def hulu_search(inp):
|
||||
"""hulu <search> - 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
|
||||
|
|
Reference in a new issue