Apr-25-2019, 07:43 AM
Yes and there is more than one way.
The method
Then you have also
The method
find()
should return only one result.Then you have also
find_all()
which returns a list with all elements which matches the pattern.result = bs.find('h1') text_in_tag = result.text
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
All humans together. We don't need politicians!