摘要: # -*- coding: utf-8 -*- """ Created on Mon Feb 18 14:59:53 2019 @author: Administrator """ #from pyclust import KMedoids #保留,用于切换函数 import numpy as np from sklearn.manifold import TSNE import matpl... 阅读全文
posted @ 2019-02-23 13:39 晚餐吃不起麻辣烫 阅读(1505) 评论(0) 推荐(0) 编辑
摘要: from selenium import webdriver #from selenium.webdriver.common.proxy import Proxy from selenium.webdriver.common.proxy import ProxyType from selenium.webdriver.common.desired_capabilities import Desi... 阅读全文
posted @ 2017-09-15 18:54 晚餐吃不起麻辣烫 阅读(188) 评论(0) 推荐(0) 编辑
摘要: cmd模式下 1.建立工程文件:scrapy startproject xici ###xici为自定义名称 2.进入爬虫工程文件:cd xici # 进入xici工程文件 3.建立爬虫: scrapy genspider ips xici.com #爬虫名称自定义为 ips, xici.com为所 阅读全文
posted @ 2017-09-13 10:53 晚餐吃不起麻辣烫 阅读(1000) 评论(0) 推荐(0) 编辑