【发布时间】:2020-07-16 10:25:57
【问题描述】:
例子
html-code
html-code
<div data-content="N(EX%hY-G47*@A8Ru%%c7@tG4mN3k/mebP631Y0B1A08s!Xn_sd#xGzJtF;^*03znN;-r6X8cu2;*+E%6l"></div>
html-code
html-code
如何使用 BeautifulSoup 找到这个 DIV 并获取引号之间的数据? data-content="?????"
【问题讨论】:
标签: python python-3.x beautifulsoup