Skip to content

fzys01/jiandan-xxoo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Java爬虫 Java Spider爬取煎蛋网妹子图

  • 不使用爬虫框架,只需会用HttpClient和正则表达式即可爬取
  • 可自定义开始页面以及爬取页数,以及存放地址(妹子图的网址:http://jandan.net/ooxx/page-1 )
  • 得到图片存放在D:/meizi文件夹下,每页单独一个文件夹,路径可在类MeiZi.java中修改
  • 练手项目,仅供娱乐,多线程,代理Ip等暂时不会T_T
  • 运行主类后,调用run方法抓取,如不指定页数则默认抓取10页,详细如下:
  • run()抓前10页

  • run(x)抓取前x页

  • run(x,y)抓取从x到y页,终止页码1500

  • 有问题Issue,相互学习~

Git clone 以后,用maven导入

Java Crawler ,spide girls' pictures from internet, very simple

  • Without any crawler frame, friendly to newbie
  • Could set your own crawler choice
  • Use function run()to cra 10 pages
  • Use run(i) to craw top i pages
  • And run(i,j) to craw from page i to page j
  • Good Luck! Study hard and make progress everyday!

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%