data_from_left = text_box_left.lower().split(keyword.replace('"',''))[1]
<p>I am new to python and javascript. I have a prebuilt python scraper that uses this script that is designed to search for name and address. It uses a keyword such as "to:" and the text following would be "to: name + address".
But this script has an index problem that is list index out of range.</p>

<p>I am not sure that this is the right script, but I am trying to fix this.
I would appreciate any comments and suggestions.
Thank you !
This is the text area that relates to text_box_left.</p>

<p>u'Recorded in Official Reco...0.00 AND WHEN RECORDED MAIL' </p>