summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsand <daniel@spatof.org>2013-05-13 15:38:51 (GMT)
committer sand <daniel@spatof.org>2013-05-13 15:38:51 (GMT)
commit913b1a062371da7cbc63c2bb05cfddd924981ccf (patch)
tree77cdc0d134795df3168350e008e5b6d1974a78b2
parentb160899ed86cead4ea5ff747a420c16c54390737 (diff)
correzione plugin eztv
-rw-r--r--pinolo/plugins/_eztv.py14
1 files changed, 11 insertions, 3 deletions
diff --git a/pinolo/plugins/_eztv.py b/pinolo/plugins/_eztv.py
index 4cb20ed..ac78485 100644
--- a/pinolo/plugins/_eztv.py
+++ b/pinolo/plugins/_eztv.py
@@ -1,6 +1,13 @@
# -*- coding: utf-8 -*-
-"""eztv.it search plugin"""
-import re
+"""
+ pinolo.plugins.eztv
+ ~~~~~~~~~~~~~~~~~~~
+
+ Eztv search wrapper.
+
+ :copyright: (c) 2013 Daniel Kertesz
+ :license: BSD, see LICENSE for more details.
+"""
import requests
from bs4 import BeautifulSoup
from pinolo.plugins import Plugin
@@ -57,4 +64,5 @@ class EztvPlugin(Plugin):
return
for result in results[:MAX_RESULTS]:
- event.reply(result)
+ # event.reply(result)
+ event.client.notice(event.user.nickname, result)