Beautiful Soup: 'ResultSet' object has no attribute 'find_all'?

前端 未结 3 1565
说谎
说谎 2020-11-22 05:27

I am trying to scrape a simple table using Beautiful Soup. Here is my code:

import requests
from bs4 import BeautifulSoup

url = \'https://gist.githubusercon         


        
3条回答
  •  北恋
    北恋 (楼主)
    2020-11-22 06:04

    Iterate over table and use rowfind_all('td')

       for row in table:
            col = row.find_all('td')
    

提交回复
热议问题