(url, targetfile)
| 704 | |
| 705 | |
| 706 | def download_http(url, targetfile): |
| 707 | print("[+] Downloading " + targetfile + " from " + url + " ... ") |
| 708 | webFile = urllib.request.urlopen(url) |
| 709 | localFile = open(targetfile, "wb") |
| 710 | localFile.write(webFile.read()) |
| 711 | webFile.close() |
| 712 | localFile.close() |
| 713 | |
| 714 | |
| 715 | def alectodb_download(): |
no outgoing calls
no test coverage detected