import
re
# 使用 re.findall() 函数来匹配 URL
urls
=
re.findall(r
'http://[\w.-]+/'
, html)
# 输出匹配到的 URL
print
(urls)