1 def on_download_start(api, gid): 2 print("started " + gid) 3 4 5 def on_download_pause(api, gid): 6 print("paused " + gid)