Try something like this.
el = soup.find('span', {'class': 'a-text-bold'})
el_k = el.text.replace(':', "").encode('ascii', 'ignore').strip().decode('utf-8')
el_v = el.find_next().text
d = {el_k:el_v}
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.