I don't now if it's place for this question...
I am developing some plugin for jDownloader, I have some problems. First question: How to check link ? I tried this way (but it doesn't work):
LinkChecker lc = new LinkChecker();
lc.check("http://rapidshare...");
I want to check if link is downloadable and after that add it to queue (how to do this ?)
Another question: How to handle captcha ? I want to get captcha code (if appears) and send to service DeathByCaptcha.com.
Thank you very much in advance,
Ok, thank you for suggestions. Here are solutions (maybe it'ill be useable for someone):
Checking a link
You have to add link to LinkCollector and after that you can add files do download list. Here is the code:
And after that you can add all added files to download list:
Everything works statically so you can create own plugin and implement it anywhere.