From: Radek Czajka Date: Wed, 13 Feb 2013 15:51:22 +0000 (+0100) Subject: youtube support X-Git-Url: https://git.mdrn.pl/librarian.git/commitdiff_plain/cb69bb340ea976c61d65567069cf14c244452ab7 youtube support --- 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 '!!