摘要: import matplotlib.pyplot as plt import seaborn as sns import pandas as pd # 简单的折线图绘制 # x = [1, 2 ,3 ,4, 5] # y = [1, 4, 9, 16, 25] # plt.plot(x, y, li 阅读全文
posted @ 2020-01-29 18:01 Iceberg_710815 阅读(1724) 评论(0) 推荐(0) 编辑
摘要: # 本程序为学习代码,成功爬取了'梨视频'网站的全部视频文件,并保存在video文件夹 import os import re import requests def getHTMLText(url): try: r=requests.get(url) r.raise_for_status() r. 阅读全文
posted @ 2020-01-29 15:24 Iceberg_710815 阅读(2576) 评论(0) 推荐(0) 编辑
摘要: # 本程序为爬虫学习代码,成功爬取了漫微网站上的全部图片内容 import re import os import requests def getHTMLText(url): try: r=requests.get(url) r.raise_for_status() r.encoding=r.ap 阅读全文
posted @ 2020-01-29 15:22 Iceberg_710815 阅读(1002) 评论(0) 推荐(0) 编辑