直发买手拍单功能
This commit is contained in:
1 parent
fe9635f37f
commit
785fcce29e
22 files changed
+1172
-529
No files matched your search
@@ -678,6 +678,16 @@ namespace AllBase
|
||||
string temp = GetMatchRegexString(html, @"<" + reg + ">([^']+?)</" + reg + ">");
|
||||
return temp;
|
||||
}
|
||||
public static string GetStringXmlByRegs(ref string html, string defaultValue, params string[] regs)
|
||||
{
|
||||
foreach (var reg in regs)
|
||||
{
|
||||
string temp = GetMatchRegexString(html, @"<" + reg + ">([^']+?)</" + reg + ">");
|
||||
if (temp != null)
|
||||
return temp;
|
||||
}
|
||||
return defaultValue;
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in new issue
Block a user