download_speed/main.py

9 lines
218 B
Python
Raw Normal View History

2019-06-16 16:42:29 +08:00
import downloader
if __name__ == "__main__":
2019-06-16 18:28:19 +08:00
servers = [{"url": "http://67.209.190.15/1000M.bin", "name": "bwg"}]
chunk_read = downloader.download_file(servers)
# print(chunk_read)
2019-06-16 16:42:29 +08:00
print("Finished.")