Hello,

I am trying to find the number of times a word occurs on a webpage so I used 
bs4 code below

Let assume html contains the "html code"
soup = BeautifulSoup(html, "html.pa<http://html.pa>rser")
print(len(soup.fi<http://soup.fi>nd_all(string=["Engineering","engineering"])))
But the result is different from when i use control + f on my keyboard to find

Please help me understand why it's different results. Thanks
I am using Python 3.5





Sent from my Verizon LG Smartphone
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to