diff --git a/server/plugin/plg_backend_url/index.go b/server/plugin/plg_backend_url/index.go index 9deb225c..1ed78e7a 100644 --- a/server/plugin/plg_backend_url/index.go +++ b/server/plugin/plg_backend_url/index.go @@ -157,6 +157,7 @@ func (this Url) processLink(link string, n *html.Node) *File { extractASPNetList, extractApacheList, extractApacheList2, + extractApacheList3, } { if s, t, err := extr(n); err == nil { fSize = s @@ -308,6 +309,12 @@ var extractApacheList2 = extract( nodeApacheExtract, ) +var extractApacheList3 = extract( + regexp.MustCompile(`([0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2})`+`[ \xA0]+`+`([0-9]+(?:\.[0-9]+)?|-)`+`[ \xA0]*`+`[kKMGT]?`), + "2006-01-02 15:04", + nodeApacheExtract, +) + func (this *Url) Home() (string, error) { return this.home, nil }