fix: update JDownloader script to write 'text' instead of 'url' for crawljob
Some checks failed
validate / lint (push) Failing after 1s
Some checks failed
validate / lint (push) Failing after 1s
This commit is contained in:
parent
a70a3a8014
commit
9dc4bbe249
@ -143,7 +143,7 @@ spec:
|
|||||||
self.send_response(400); self.end_headers(); return
|
self.send_response(400); self.end_headers(); return
|
||||||
fname = f'{WATCH_DIR}/{int(time.time()*1000)}.crawljob'
|
fname = f'{WATCH_DIR}/{int(time.time()*1000)}.crawljob'
|
||||||
with open(fname, 'w') as f:
|
with open(fname, 'w') as f:
|
||||||
f.write(f'url={urls[0]}\nautoStart=TRUE\npackageName=subyshare\n')
|
f.write(f'text={urls[0]}\nautoStart=TRUE\nautoConfirm=TRUE\npackageName=subyshare\n')
|
||||||
self.send_response(200); self.end_headers()
|
self.send_response(200); self.end_headers()
|
||||||
self.wfile.write(b'Ok.')
|
self.wfile.write(b'Ok.')
|
||||||
def log_message(self, *a): pass
|
def log_message(self, *a): pass
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user