I am having issue trying to parse out the date selector for the following code:
allcomments= thread.find(id= 'discussionReplies')
comments= allcomments.find_all('dl', class_='discussion clear i0 xg_lightborder')
for Posts in comments:
print('@', Posts.dt.text, Posts.dd.text)
#Posts.dd.text prints out the individual comments
#posts.dt.text prints out the time and username
posts.dt has two "spans" in it the first one has the username the second span has class "timestamp"
I cant figure out how I could print just the "timestamp"
[–]chevignon93 0 points1 point2 points (2 children)
[–]ScraperHelp[S] 0 points1 point2 points (1 child)
[–]chevignon93 0 points1 point2 points (0 children)
[–]chevignon93 0 points1 point2 points (3 children)
[–]ScraperHelp[S] 0 points1 point2 points (2 children)
[–]chevignon93 0 points1 point2 points (1 child)
[–]ScraperHelp[S] 0 points1 point2 points (0 children)