Donate CPU: show info on server
This commit is contained in:
parent
40364561e3
commit
1e919e696b
|
@ -50,6 +50,7 @@ while True:
|
||||||
url = data[:pos]
|
url = data[:pos]
|
||||||
res = re.match(r'ftp://.*pool/main/[^/]+/([^/]+)/[^/]*tar.gz',url)
|
res = re.match(r'ftp://.*pool/main/[^/]+/([^/]+)/[^/]*tar.gz',url)
|
||||||
if res and (url+'\n' in packages):
|
if res and (url+'\n' in packages):
|
||||||
|
print('results added for package ' + res.group(1))
|
||||||
f = open(resultPath + '/' + res.group(1), 'wt')
|
f = open(resultPath + '/' + res.group(1), 'wt')
|
||||||
f.write(data[pos+1:])
|
f.write(data[pos+1:])
|
||||||
f.close()
|
f.close()
|
||||||
|
|
Loading…
Reference in New Issue