Git Product home page Git Product logo

91qornspideranddownloader's Introduction

91qorn Spider And Downloader

系统要求

1.JDK 1.8以上
2.Mysql
3.lombak
4.IDEA (eclipse的话使用mvn转为eclipse项目)
5.酸酸或者酸酸乳

相关框架

1.spring boot
2.webmagic (感谢作者 http://webmagic.io/) 

运行

1.修改 application-dev.yml 中数据库配置,运行时数据库表会自动建立
2.爬取视频网页链接信息时不需要修改爬虫的cooikes信息,下载时需要在cn.panda.spider.spider.SpiderSingle内修改cookies信息,请使用自己的账号登录91,然后将cookies信息填写
3.运行入口:test内cn.panda.spider.SpiderPornTest.test1() 爬取视频网页链接到mysql
4.修改cn.panda.downloader.Utils.VideoDownloader内的视频保存目录
5.运行入口:test内cn.panda.spider.SpiderPornTest.test3() 根据筛选条件下载视频
6.筛选条件请在cn.panda.spider.dao.Porn91Dao.getAllAndOrderByChakanDesc()内修改sql语句

目前架构很简单,分为两部分

1.所有视频地址的爬取,采用爬列表页的方式,根据视频网页链接查重
2.根据筛选条件下载视频,需要91的登录信息

请注意

1.请不要传播下载的视频文件

TODO

1.下载视频工具修改为线程池的形式,避免启动过多下载线程;(已完成)
2.保存视频源地址到mysql修改为批量方式,以减少浪费在操作db上的时间。(已完成)

一些数据

1.目前爬取的91视频为84919个;
2.上传视频最多的用户为:boismns6598,视频个数为:588个。

91qornspideranddownloader's People

Contributors

pandated avatar

Watchers

James Cloos avatar  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.