小编Cyb*_*elp的帖子

美丽的汤第一个孩子在 thia html 网络抓取

我在这里有一个示例 html http://cyberrule.netii.net/1.html 我想让我的第一代孩子尝试过这个

nav = soup.find( 'nav' )
child_li = nav.findAll("li", { "class" : "dropdown" })
Run Code Online (Sandbox Code Playgroud)

但这只给我提供了带有类别下拉列表的列表。列表底部缺失。我想将它们全部放入一个数组中以便逐步处理。

html python beautifulsoup web-scraping

1
推荐指数
1
解决办法
999
查看次数

标签 统计

beautifulsoup ×1

html ×1

python ×1

web-scraping ×1