特牛生活网

python爬虫爬出新高度_title.get('href')-CSDN博客

网友收藏
文章浏览阅读1k次。一、运行环境 (1)win7 (2)python 2.7 (3)pycharm二、获取csdn发表的文章# coding:utf-8import urllib2, re, time, random, os, datetimeimport HTMLParserfrom bs4 import BeautifulSoupimport sysrelo_title.get('href')