-3
Given an html file, how can I use python to extract all the <a>
tags from them so that I can use the href
attribute to download the files using urllib ?如何遍歷<a href> tags from html file and download them using python
Thanks
你嘗試過什麼嗎?通常,您可以使用最受歡迎的BeautifulSoup解析HTML,在Python中有幾個選項。 –