First find this soup or regular node, and then match it with the above character group.
Assuming that there is only one node, the usage is as follows:
Import the re-import request as required from bs4 import beautiful soup URL =' XXX' html = req.get (URL). textbs = beautiful soup(html)span = bs . find _ all(' span ',' pro-title ')' ' ' span = re . find all(& lt; span\sclass="pro-title " >【^<; ]+& lt; /span & gt;' ,html)s = span[0]m = re . find all('[\ u4e 00-\ u9fa 5]+',s)' ' ' s = str(span)m = re . find all('[\ u4e 00-\ u9fa 5]+',s)print(m)