the output of this code:
productNameText = down_page.find(id='productNameText')
print(productNameText)
gives:
[u'\n', <h1>
Bold Print Short
</h1>, u'\n']
How can I gently take only Bold Print Short text from here Thanks
productNameText = down_page.find(id='productNameText').get_text()
print productNameText
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.