Apparently, . NextSibling will grab white text. So in the actual page I'm working with, there is white text between the h4 and p tags, which is why I have to double Evidence Writing: print tag.
__class__ print tag.nextSibling. __class__ print tag.nextSibling.nextSibling. __class Yields: class 'BeautifulSoup.Tag.
Apparently, . NextSibling will grab white text. So in the actual page I'm working with, there is white text between the and tags, which is why I have to double.
Evidence Writing: print tag. __class__ print tag.nextSibling. __class__ print tag.nextSibling.nextSibling.
__class__ Yields.
This is not the case on Windows, BTW. I'm currently testing this on my Mac to see if it's a bug in BeautifulSoup for Mac. – Rafe Kettler Apr 17 at 1:07 I don't think this has to be a bug, as whitespace would be of the NavigableString type.
I'll run a test and post the results in a few minutes. – NMoney Apr 17 at 1:10 it's my fault, I didn't put a new line when I first tested on Windows. I get the same behavior on Windows, Mac, and Linux – Rafe Kettler Apr 17 at 1:14.
Apparently, . NextSibling will grab white text. So in the actual page I'm working with, there is white text between the h4 and p tags, which is why I have to double.
NextSibling the output is nothing. When I type print tag.nextSibling. NextSibling, the output is May 28, 1996.
What is going on?
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.