equal
deleted
inserted
replaced
327 except: |
327 except: |
328 logging.exception("Error with download %r", dl) |
328 logging.exception("Error with download %r", dl) |
329 else: |
329 else: |
330 logging.info("No torrent, url is %s", dl.web) |
330 logging.info("No torrent, url is %s", dl.web) |
331 fn = os.path.basename(urllib.parse.urlsplit(dl.web).path) |
331 fn = os.path.basename(urllib.parse.urlsplit(dl.web).path) |
332 urlfile.write("wget --progress=bar -P ../packages/ -c -o %s \"%s\"\n" % (fn,dl.web)) |
332 urlfile.write("wget --progress=bar -c -O ../packages/%s \"%s\"\n" % (fn,dl.web)) |
333 |
333 |
334 |
334 |
335 |
335 |
336 if __name__ == '__main__': |
336 if __name__ == '__main__': |
337 import sys |
337 import sys |