GithubHelp home page GithubHelp logo

tanloo / spider-blogimg Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 1.0 15 KB

利用WebMagic爬取博客全部所需图片,将其保存本地并将图片信息导入数据库

Home Page: https://github.com/tanloo/Spider-BlogImg

Java 100.00%

spider-blogimg's Introduction

Spider-BlogImg

利用WebMagic爬取博客全部所需图片,将其保存本地并将图片信息导入数据库

爬取的博客为 好色龍的網路觀察日誌之雜七雜八短篇漫畫翻譯

超級喜欢他的漫画翻译,但是墙内不太好访问,正好在学习爬虫,将其试炼一下,也为了怕有一天突然访问不到了留个念想。
代码新手,很多地方写得并不是很好,望提出指正例如数据库简陋地使用了Mybatis,重复的创建关闭连接自己都觉得蠢

所使用到的框架:

1. WebMagic v0.7.3
2. Selenium v3.141.59
3.PhantomJS v2.1.1

数据库:

  • MySQL v8.0

How to use:

run HornyDragonBlogProcessor.java

if have not database,you shoud commented out code:SpiderDownload.save2DB(...)

spider-blogimg's People

Contributors

tanloo avatar

Forkers

asdbaihu

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.