How to load a BeautifulSoup page parser?

后端 未结 1 632
失恋的感觉
失恋的感觉 2021-01-14 02:48

help please download the specified page and find her element with id =\'\'login \". necessarily need to use for the query module request

import pprint
import         


        
相关标签:
1条回答
  • 2021-01-14 03:44

    You need to pass the actual html not the request :

    soup = bs4.BeautifulSoup(html.text)
    
    0 讨论(0)
提交回复
热议问题