2018年3月2日

python之爬新浪爱彩双色球开奖数据

摘要: # Author: xueyou import urllib.request import urllib.parse import re import urllib.request,urllib.parse,http.cookiejar def getHtml(url): cj=http.cookiejar.CookieJar() opener=urllib.request.bu... 阅读全文

posted @ 2018-03-02 00:15 杨学友 阅读(1066) 评论(0) 推荐(0)

python之爬贴吧图片

摘要: #coding=utf-8 import re import urllib.request def getHtml(url): page = urllib.request.urlopen(url) html = page.read() #print(type(html)) html = html.decode('UTF-8') #print(html) ... 阅读全文

posted @ 2018-03-02 00:14 杨学友 阅读(150) 评论(0) 推荐(0)

导航