<div class="available-date-component">Available 4/1 at 9:00 AM</div>
I am trying to extract text from the html div above using the code below
date = page.find('div', {'class' : 'available-date-component'})
print(date.string) # this line needs to be fixed
Does anyone have any suggestsions on how I can only print 'Available 4/1 at 9:00 AM' isntead of the entire div?