使用python和selenium从svg中提取文本

问题描述

enter image description here

enter image description here

在此处输入图片描述

enter image description here

我想出了这个xpath:-“ // [local-name()='text'and @ style ='text-anchor:middle; fill:rgb(0,32,96); font -family:Calibri;字体大小:40px;空格:pre;'] / [local-name()='title']“

这给了我3个我不需要提取的元素,但没有比这更独特的了。 有人可以帮忙吗。

谢谢

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)