r/javahelp • • Jul 02 '14

A Java Manga App

I want to make a java program. It has a search box to search mangas from different site. Then it will download the pages from the site.

It is an app like mangasearch you can find on android but use on a computer. The question is I don't know how to use java to search on manga websites and how to download the pages.

Thanks!

1 Upvotes

15 comments sorted by

View all comments

Show parent comments

6

u/nret Jul 02 '14

I preemptively apologize for the snarkyness of this comment.

what method...

A lot of them.

what library...

A lot of them. I would suggest Jsoup for the web scraping. Probably Swing for your UI

implement the search engine

That's a big 'one thing'. Start with a text box to receive the text, does the mango site have a search bar--use that if you can, otherwise have it search your database of mangos (no clue where you'd get that database)

download all the images from the website

Now THIS is a good question, I would suggest using the ImageIO class, it has some really nice helper methods.

I would also suggest using a UI builder to help you with the UI, WindowsBuilderPro from Google is the one I've used the most (I think that's the name, ill edit this post when I check), I think NetBeans also has a built in UI builder.

1

u/[deleted] Jul 02 '14

Thanks for your answer.

I was trying to have a basic understanding on the things I going to need before dive deeper into the project. You really gave me a perfect answer I am looking for. Thanks a lot.

5

u/nret Jul 03 '14 edited Jul 03 '14

Start with something simple.

Make a webscraper that scrapes their "newest douji--I mean mangos", and display (in the console (System.out.println();) the first 5.

You'll get acquainted with Jsoup, you won't need to have a UI, and you'll get the first steps you need to continue your larger project.

(Bonus: to get acquainted with ImageIO, download the images from the most recent doujin--I mean mango.)

This type of project is similar to some of my first projects when I started coding. So I guess I'm saying, I think it's a good project to start with.

Good luck!

1

u/[deleted] Jul 04 '14

I just look up Jsoup. It is very convieniet to use. I think I am going to use Jsoup for this project. Thanks for you suggestion!