Skip to content

Commit 784f141

Browse files
committed
smagent-1292
1 parent 4a8c708 commit 784f141

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/kernel-crawler.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
"root" : "https://mirrors.kernel.org/ubuntu/pool/main/l/",
9292
"discovery_pattern" : "/html/body//a[@href = 'linux/']/@href",
9393
"subdirs" : [""],
94-
"page_pattern" : "/html/body//a[regex:test(@href, '^linux-(image|headers)-[3-9].*-generic.*amd64.deb$')]/@href"
94+
"page_pattern" : "/html/body//a[regex:test(@href, '^linux-(image|headers)-(unsigned-)*[3-9].*-generic.*amd64.deb$')]/@href"
9595
},
9696

9797
{
@@ -105,7 +105,7 @@
105105
"root" : "http://security.ubuntu.com/ubuntu/pool/main/l/",
106106
"discovery_pattern" : "/html/body//a[@href = 'linux/']/@href",
107107
"subdirs" : [""],
108-
"page_pattern" : "/html/body//a[regex:test(@href, '^linux-(image|headers)-[3-9].*-generic.*amd64.deb$')]/@href"
108+
"page_pattern" : "/html/body//a[regex:test(@href, '^linux-(image|headers)-(unsigned-)*[3-9].*-generic.*amd64.deb$')]/@href"
109109
},
110110

111111
{

0 commit comments

Comments
 (0)