r/javahelp • u/[deleted] • 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
4
u/Blackduck606 Extreme Brewer Jul 03 '14
If you want HTML parsing, I've had a good experience with Jsoup. You can easily crawl webpages with it for content.
You should probably look into if the websites you want to access have APIs for them. If they don't, your best bet is probably to just search www.somerandomsite.com/?search=some+query and then use Jsoup to parse the results and then the Java standard lib can read content from websites. The problem you'll face constantly is that since you're hardcoding how navigate the website, the program will stop working correctly every time a website changes its layout.