From cb69bb340ea976c61d65567069cf14c244452ab7 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Wed, 13 Feb 2013 16:51:22 +0100 Subject: [PATCH] youtube support --- librarian/pyhtml.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/librarian/pyhtml.py b/librarian/pyhtml.py index 2f054a9..33d6d9e 100644 --- a/librarian/pyhtml.py +++ b/librarian/pyhtml.py @@ -255,6 +255,18 @@ u"""%(wskazowki)s return u"" % def_href, u'%s%s' % (def_err, more_links) + def handle_video(self, element): + url = element.attrib.get('url') + if not url: + print '!!