Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
d70ac88d1b |
@ -15,11 +15,10 @@ del project_href[0]
|
||||
KernelURL = []
|
||||
KernelVerList = []
|
||||
|
||||
for m in project_href[::2]:
|
||||
KernelURL.append("https://archive.archlinux.org/packages/l/linux/"+m)
|
||||
|
||||
## Making complicated stuff to extract only the Kernel Version from the WebScrap
|
||||
for t in project_href[::2]:
|
||||
KernelURL.append("https://archive.archlinux.org/packages/l/linux/"+t)
|
||||
KernelVer = os.popen("echo " + t + " | cut -d'.' -f1,2,3 | sed 's/.arc//g' | sed 's/-x86_64//g' | sed 's/.ar//g' | sed 's/h//g'")
|
||||
for i in KernelVer.read().split('\n')[::2]:
|
||||
KernelVerList.append(i)
|
Loading…
Reference in New Issue
Block a user