Demo entry 6350837

pytest

   

Submitted by anonymous on Mar 15, 2017 at 11:28
Language: Python. Code size: 253 Bytes.

import requests 

print "downloading with requests"

url = 'http://www.wandoujia.com/apps/com.dianping.v1/binding?source=wandoujia-web_direct_binded'

r = requests.get(url) 

with open("dianping.apk", "wb") as code:

     code.write(r.content)

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).