No parser was explicitly specified, so I'm using the best available HTML parser for this system ("ht...

911 ワード

BeautifulSoupライブラリを使用中にこの警告が表示され、正常な動作には影響しませんが、強迫症は我慢できません!!
詳細な警告情報は次のとおりです.
UserWarning: No parser was explicitly specified, so I'm using the best available HTML parser for this system ("html.parser"). 
This usually isn't a problem, but if you run this code on another system, or in a different virtual environment, 
it may use a different parser and behave differently.

: , HTML 。 , , ,

解決策:HTML解析器の指定
BeautifulSoup(res.text, "html.parser")

 
転載先:https://www.cnblogs.com/huiAlex/p/7988294.html