在一個網(wǎng)頁中匹配出如下的幾個url,從url開始匹配不是從href開始匹配href="http://redirect.wangpansou.cn/redirect.php?url=http%3A%2F%2Fpan.baidu.com%2Fshare%2Flink%3Fuk%3D2803502175%26shareid%3D3310887851%26third%3D0"href="http://redirect.wangpansou.cn/redirect.php?url=http%3A%2F%2Fpan.baidu.com%2Fshare%2Fhome%3Fuk%3D981206555%26view%3Dshare"href="http://redirect.wangpansou.cn/redirect.php?url=http%3A%2F%2Fpan.baidu.com%2Fshare%2Flink%3Fuk%3D1075874930%26shareid%3D3128951413%26third%3D0"python的正則表達(dá)式應(yīng)該怎么寫?求大神啊!就結(jié)了好久了.
python正則匹配一個html中的幾個url
慕仙森
2018-07-16 09:19:26