Home > other >  Questions about BS4 select_one method.. Consult ~ ~ ~
Questions about BS4 select_one method.. Consult ~ ~ ~

Time:10-28


I want to use Beautifulsoup select_one method to find the img tags, part of the code is as follows:
Book. Select_one (' ttachment - post - thumbnail wp - post - image ')
But this return is none
But if so write
Book. Select_one (' ttachment - post - thumbnail ')
Can accurately grasping to,,,,
This is why?? The attribute value is not a ttachment - post - thumbnail wp - post - image?? Why only collect the front half of the?? Consult ~ ~ ~
  • Related