import urllib data = urllib.urlopen('http://trade.cpdyj.com/trade/bjvsdpf.go?expectId=101105&playId=SPF').read() print data