Last answered:

17 Mar 2024

Posted on:

15 Feb 2023

0

soup find command

Hello there, 


soup.find('a', attrs = {'class':"mw-jump-link", 'href':'bodyContent'})

soup.find('div', {'id':'footer'})


Both are not working. 

1 answers ( 0 marked as helpful)
Posted on:

17 Mar 2024

0
soup.find('a', attrs={'class':'mw-jump-link', 'href':'#bodyContent'})
soup.find('footer', {'id':'footer'})

Workaround example at current time and date, may change if web page updated.

 

 

Submit an answer