GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - vincentli2016/spider

BranchesTags
Open more actions menu

Latest commit

 

History

1 Commit
1 Commit

Folders and files

NameName
Last commit message
Last commit date
.settings
.settings
 
 
src
src
 
 
target
target
 
 
.classpath
.classpath
 
 
.project
.project
 
 
books.csv
books.csv
 
 
pom.xml
pom.xml
 
 
readme
readme
 
 

Repository files navigation

This is a online scraping tool implemented by using java, which can scrape Douban book data of programming.
I use producer & consumer pattern and multiple-threading for below codes.

Here is the steps about how it works.
1. BookQueue.java is a container which store 40 scraped books. It is a thread safe method.
2. ConsumerThread.java is a thread class that use for gathering processed books and store these books into computer driver which is books.csv.
3. ProducerThread.java is a thread class that scrape all related data and call BookQueue methods to save it's data.
4. App is a main function class and also a entrance class for all other methods.


books.csv is store on the root directory of project spider.

About

No description, website, or topics provided.

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.