

1 xiaozi 2014-03-01 12:48:33 +08:00 直接使用chrome的xpath插件就可以了 |
2 9hills 2014-03-01 13:12:44 +08:00 via iPad 嗯,chrome能直接得到xpath简直不要太赞,直接用lxml就好了 |
3 binux 2014-03-01 14:17:56 +08:00 |
4 Esay OP |
5 wangfeng3769 2014-05-26 17:02:19 +08:00 @Esay xp 下运行是不是有问题呀,老鸨内存泄漏问题。 |
6 wangfeng3769 2014-05-26 17:12:14 +08:00 Traceback (most recent call last): File "E:\beautiful-soup-helper-master\beautiful-soup-helper-master\src\soup_helper.py", line 198, in <module> dialog = MainWindow(None, "Soup Helper") File "E:\beautiful-sop-helper-master\beautiful-soup-helper-master\src\soup_helper.py", line 63, in __init__ self.Bind(html2.EVT_WEB_VIEW_LOADED, self.LoadHTMLFihish, self.browser) AttributeError: 'module' object has no attribute 'EVT_WEB_VIEW_LOADED' swig/python detected a memory leak of type 'wxPyXmlSubclassFactory *', no destructor found. |
7 Esay OP 额 搜索了一下,试下? http://stackoverflow.com/questions/16460545/wxpython-passing-user-datas-to-html2 EVT_WEB_VIEW_LOADED -> EVT_WEBVIEW_LOADED 另外,Chrome 的 copy xpath 确实好用,也推荐你试试。 |