blob: 44c62293ef96b59b04e85df2dce61854be3d7646 [file] [log] [blame]
sv764t8bf49982018-10-25 01:42:52 -04001from curl import Curl
2
3class CurlLibrary:
4
5
6 def get_zip(self, url, filename):
7 fp = open(filename, "wb")
8 c = Curl()
9 c.get(url, )
10 c.set_option(c.WRITEDATA, fp)
11 c.perform()
12 c.close()
13 fp.close()