获取网站所有的url正则表达式
C# string pattern1 = @"(?is)<[^>]*?src=(['""\s]?)(?<src>[^'""\s]*)\1[^>]*?>"; string pattern2 = @"(?is)<[^>]*?href=(['""\s]?)(?<href>[^'""\s]*)\1[^>]*?>";
python: pattern1 =r"(?<=href=\").+?(?=\")|(?<=href=\').+?(?=\')" pattern2 =r"(?<=src=\").+?(?=\")|(?<=src=\').+?(?=\')"