Ê
ÊØÖê´ýÍÃ
please to see my code:
import urllib
import urllib2
url = 'http://hi.baidu.com/'
values = {'username' : '******','password' : '******' }
data = urllib.urlencode(values)
req = urllib2.Request(url,data)
response = urllib2.urlopen(req)
the_page = response.read()
i can't to login ,why?username and password are right.
any word appreciated.
import urllib
import urllib2
url = 'http://hi.baidu.com/'
values = {'username' : '******','password' : '******' }
data = urllib.urlencode(values)
req = urllib2.Request(url,data)
response = urllib2.urlopen(req)
the_page = response.read()
i can't to login ,why?username and password are right.
any word appreciated.