Click here to Skip to main content
15,906,463 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
I want to read some specific data in a site (for example a site for downloading music) and search for a music then download it. what knowledge should i need for writing this program? and how can do it?
Posted
Comments
Sergey Alexandrovich Kryukov 5-Dec-13 11:45am    
What have you tried so far?
—SA
HAMZEI 5-Dec-13 13:15pm    
you know, nothing serious yet.i just want to know what should i work on more.i have already known about html, and i think dom is required in my project but i know nothing about networking.
Sergey Alexandrovich Kryukov 5-Dec-13 16:17pm    
I answered on parsing; if you have problems with networking or just Web (such as scraping), you would rather need to ask separate questions.
—SA

1 solution

You need to use some HTML parser for Java. Please see:
http://mozillaparser.sourceforge.net[^],
http://htmlparser.sourceforge.net/[^].

For other parsers and their comparison, please see: http://en.wikipedia.org/wiki/Comparison_of_HTML_parsers[^].

Or try to find some more: http://bit.ly/1bKePi4[^].

—SA
 
Share this answer
 
Comments
joshrduncan2012 5-Dec-13 11:56am    
+5 from me.
Sergey Alexandrovich Kryukov 5-Dec-13 12:01pm    
Thank you very much.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900