htmlのtableタグを取得しました。
tableの中からtrタグのみ取得したいのですがどのようにすればよろしいでしょうか?
python
1rows = tables.find("tr")
を実行すると下記のエラーが出力されます。
"ResultSet object has no attribute '%s'. You're probably treating a list of items like a single item. Did you call find_all() when you meant to call find()?" % key
AttributeError: ResultSet object has no attribute 'find'. You're probably treating a list of items like a single item. Did you call find_all() when you meant to call find()?
ご教示お願い致します
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。