2017年3月16日
摘要: #! /usr/bin/python2.7# -- coding:utf-8 --import os, urllib,urllib2, thread,threadingimport re#匹配音乐urlreg=re.compile('{"name":"(.+?)".+?"rawUrl":"(.+?) 阅读全文
posted @ 2017-03-16 16:44 enet01 阅读(139) 评论(0) 推荐(0) 编辑
摘要: # -*- coding: cp936 -*-from scapy.all import *from threading import Thread,activeCountfrom random import randintclass Loop(Thread): def __init__(self, 阅读全文
posted @ 2017-03-16 16:40 enet01 阅读(223) 评论(0) 推荐(0) 编辑
摘要: scrapy安装 1. lxml下载地址:https://pypi.python.org/pypi/lxml/2.3/ 2.安装 zope.interface 下载地址 https://pypi.python.org/pypi/zope.interface/4.1.0#downloads 3.pip 阅读全文
posted @ 2017-03-16 16:38 enet01 阅读(80) 评论(0) 推荐(0) 编辑
摘要: 要安装或升级pip,需要下载 get-pip.py. 地址:https://bootstrap.pypa.io/get-pip.py 然后运行以下命令 (需要管理员权限): $ python get-pip.py $ python get-pip.py 如果 setuptools (或 distri 阅读全文
posted @ 2017-03-16 10:55 enet01 阅读(309) 评论(0) 推荐(0) 编辑