#25 can't get the object using getLink function

open
nobody
None
5
2012-11-24
2010-05-02
Eric
No

Try to identify a hyperlink using getLink function. If the innerText is ascii everything is Ok, but if the innerText is Chinese(I'm not suret about other lanuage), this function returns None.

from PAM30 import PAMIE
ie=PAMIE('www.baidu.com')
ie.getLink('hao123')
ie.getLink('空间') # this one returns None, but there's a innerText "空间" .

This root cause is in PAM30.py line 465. I'm not sure how to fix.

Discussion