Hey guys,
Can you help, by pointing a solution or a text that I should read?
Below is a part of the htlm code. I just want the part in yellow, but my code returns the whole thing...
This code is in a loop looking for all occurrencies on the main container.
>>> quote = quotes.find('div', class_='quoteText').text
html code
<div class="quoteText">
“Knowledge has to be improved, challenged, and increased constantly, or it vanishes.”
<br/> ―
<span class="authorOrTitle">
Peter Drucker
</span>
</div> <span class="authorOrTitle">
Peter Drucker
any help is highly appreciatted!
Felipe