这是我正在抓取的一个更大网站的HTML部分。https://pastebin.com/LZ3mJKv0
基本上,我希望我的输出是:
Breed: Shih Tzu
Price: $850
Gender: Male
Nickname: Wade
Age: 16 Weeks Old
Color/Markings: red and white
Size at Maturity: Small
等等,等等。我试着找到所有的tr标签,所有的td标签,和所有的b标签,但没有一个给出我要寻找的输出或给出一个错误
提前感谢您的回复
Tags:
您可以使用嵌套列表:
输出:
相关问题 更多 >
编程相关推荐