soup = BeautifulSoup(markup, 'html.parser' ). print (soup). # wraping around the tag. soup.p.wrap(soup.new_tag( "h2" )). print (soup) ...
確定! 回上一頁