mirror of
https://github.com/qdm12/gluetun.git
synced 2026-05-07 04:20:12 +02:00
fix(slickvpn/updater): update existing hostnames from servers.json
- SlickVPN location website is now total garbage which cannot be parsed
This commit is contained in:
@@ -22,6 +22,12 @@ func MatchData(data string) MatchFunc {
|
||||
}
|
||||
}
|
||||
|
||||
func MatchClasses(classStrings ...string) MatchFunc {
|
||||
return func(node *html.Node) (match bool) {
|
||||
return HasClassStrings(node, classStrings...)
|
||||
}
|
||||
}
|
||||
|
||||
func DirectChild(parent *html.Node,
|
||||
matchFunc MatchFunc,
|
||||
) (child *html.Node) {
|
||||
|
||||
Reference in New Issue
Block a user