2018年11月22日

set去掉重复项

摘要: import res1 = '''<div class="list_li S_line1 clearfix" mid="4298926234497703" action-type="feed_list_item" >↵ <div class="WB_face W_fl"><a target="_bl 阅读全文

posted @ 2018-11-22 11:31 袁佳佳 阅读(359) 评论(0) 推荐(0)

微博爬取数据

摘要: import requestsfrom urllib.parse import urlencodefrom pyquery import PyQuery as pq#from pymongo import MongoClientbase_url = 'https://m.weibo.cn/api/c 阅读全文

posted @ 2018-11-22 10:59 袁佳佳 阅读(854) 评论(0) 推荐(0)

导航