Coder Social home page Coder Social logo

spider's Introduction

spider

阿里巴巴极限词检查

功能点

  1. 针对阿里的页面做了过滤
  2. 自动调用极限词接口
  3. 自动翻页
  4. 支持图片识别,并且会打印图片链接以及对应的敏感词列表
  5. 支持白名单

可能需要安装的第三方包

  1. PyExecJs
  2. bs4
  3. requests

更新日志

20190519

  1. 支持图片识别
  2. 支持白名单,其中白名单配在 同级目录下的 white_list.ini
  3. 打印含有敏感词的图片以及它们的对应关系

20190518

  1. 支持翻页
  2. 只检查标题, 详情
  3. 解决上个版本中没有对阿里详情页二次跳转的bug
  4. 加入百度的 OCR 功能

Bug 解决

  1. 如果程序包名跟系统包名冲突,会报很多诡异的问题。我的是一个包名叫 site,结果一直报找不到module(pycharm有这个问题,命令行执行没有)
  2. 长时间扫 1688 的网页会被强制登录
  3. ini 的文件路径需要使用 os.path.dirname(os.path.abspath(file)),不然会一直报找不到某个section,而不是提示你文件不存在

spider's People

Contributors

bishion avatar

Stargazers

 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.