#!/usr/local/bin/python2.7
# -*- coding: utf-8 -*-:
import requests from pyquery import PyQuery as pq rs = requests.get("http://www.52maps.com/china_city.php")
rs.encoding = 'utf-8' doc = pq(rs.text)
print doc
#!/usr/local/bin/python2.7
# -*- coding: utf-8 -*-:
import requests from pyquery import PyQuery as pq rs = requests.get("http://www.52maps.com/china_city.php")
rs.encoding = 'utf-8' doc = pq(rs.text)
print doc