tr3jer / autohookspider Goto Github PK
View Code? Open in Web Editor NEW将自动爬虫的结果判断是否属于hooks,并不断抓取url爬啊爬。
Home Page: http://www.thinkings.org/2017/05/24/auto-hooks-spider.html
License: GNU General Public License v3.0
将自动爬虫的结果判断是否属于hooks,并不断抓取url爬啊爬。
Home Page: http://www.thinkings.org/2017/05/24/auto-hooks-spider.html
License: GNU General Public License v3.0
平台为debian,数据库绝对正确,sock也换了,只有一大堆[200]doamin.com
嗨,大牛,我在使用的时候发现main.py的95行处发现一个bug
self.entrances = random.sample(self.hooks,self.thread_cnt)
线程数默认设置为20,如果默认情况下使用时hooks.txt目标数小于20,或者用-t设置线程数,但大于hooks.txt里目标数时,这一行代码就会报错。
我的解决办法:在95行上面加2行代码:
'''
if len(self.hooks) < self.thread_cnt:
self.thread_cnt = len(self.hooks)
'''
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.