mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2026-11-03 02:02:24 +00:00
Fix some keys might be missing when parsing some Clash subscriptions
Update build scripts.
This commit is contained in:
3 files changed
+3
-3
No files matched your search
@@ -1924,7 +1924,7 @@ void explodeSub(std::string sub, bool sslibev, bool ssrlibev, const std::string
|
||||
{
|
||||
if(!processed && regFind(sub, "\"?(Proxy|proxies)\"?:"))
|
||||
{
|
||||
regGetMatch(sub, R"(^(?:Proxy|proxies):$\s(?:(?:^ +?.*$| *?-.*$|)\s)+)", 1, &sub);
|
||||
regGetMatch(sub, R"(^(?:Proxy|proxies):$\s(?:(?:^ +?.*$| *?-.*$|)\s?)+)", 1, &sub);
|
||||
Node yamlnode = Load(sub);
|
||||
if(yamlnode.size() && (yamlnode["Proxy"].IsDefined() || yamlnode["proxies"].IsDefined()))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user