texts = driverfind_elementsByTAG_NAME body attributes = single_inputget_attributeouterHTML for single_input in inputs texts = texttext for text in texts请将texts里的每个text 单独作为一个元素存在 texts
texts = [text for text in texts if text != '']
原文地址: https://www.cveoy.top/t/topic/iryl 著作权归作者所有。请勿转载和采集!