27

各位大佬有什么好的办法解析网页中不规整的表格吗

 4 years ago
source link: https://www.v2ex.com/t/646128
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
Python - @MrhuangSTR - 像几乘几这种规整的表格到很好解析,xpath 或者 bs4 或者 pandas 的 read_html 可以搞定,**但是遇到那种不规整的表格,而且整个网站的表格样式可能都不一样,有什么好的办法做到通

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK