Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=mxw.git;a=commitdiff;h=cfe423a5d38e0615169b2075c54d0eade569ad24

commit cfe423a5d38e0615169b2075c54d0eade569ad24
Author: Miklos Vajna <[email protected]>
Date:   Fri Aug 26 12:23:55 2011 +0200

fix t-dict

diff --git a/sztakidict.py b/sztakidict.py
index 399ad93..0d7dd77 100644
--- a/sztakidict.py
+++ b/sztakidict.py
@@ -40,7 +40,8 @@ def sztakidict(lang, word):

parser = HTMLParser()
parser.reset()
-       parser.feed(page)
+       # hack: otherwise the parser would handle this js part as a html tag
+       parser.feed(page.replace('i<szotarBannerIds', 'iszotarBannerIds'))
parser.close()

return parser.mes
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to