当前位置: 首页 > BeautifulSoup
  • python use BeautifulSoup crawl weather forecast

    python 使用BeautifulSoup(美汤)来抓取天气预报,简单的例子,只当练手 #!/usr/bin/env python# -*- coding: gb2312 -*- #get weather info from internet#http://weather.china.com.cn/city/54511_full.html import urllib,re,unicodedata,string,sys,refrom BeautifulSoup import * if __name__==”__main__&# ...

    阅读全文
    作者:2hei | 分类:OpenSource, python | 阅读:834 views | 标签:,
    python use BeautifulSoup crawl weather forecast已关闭评论