delete useless line

This commit is contained in:
steven7851 2016-07-29 21:30:43 +08:00 committed by GitHub
parent ddbc2caa23
commit 2322a16ca8

View File

@ -34,7 +34,6 @@ def douyutv_download(url, output_dir = '.', merge = True, info_only = False, **k
json_request_url = "http://www.douyu.com/lapi/live/getPlay/%s" % room_id
payload = {'cdn': 'ws', 'rate': '0', 'tt': tt, 'did': did, 'sign': sign}
json_data = json.dumps(payload).encode('utf8')
postdata = urllib.parse.urlencode(payload)
req = urllib.request.Request(json_request_url, postdata.encode('utf-8'))
with urllib.request.urlopen(req) as response: