How would you use Java for passing a string into a text field on a webpage?
>trying to automate "youtube mp3"
>not just using youtube-dl
>>53322832
I wouldn't
java or javascript?
A java servlet page, or thymeleaf if you aren't insane, which would be given some model and the model would include the default text you want in the text field?
How would you get a cat to walk on its front legs?
>>53322950
Java, downloading a file is easy but i need the webpage to generate a link first
>>53322832
>How would you use a toothbrush to build a race car?
>>53322966
put a chip-clip on its balls
>>53322887
>implying youtube dl works on every platform
>>53322983
what platform are you using?
You don't, you should be making a post request to the server directly.
>>53322983
it works on all the relevant platforms
>>53322832
Look up the Youtube Mp3 API. You should be able to send it commands directly.
Otherwise you have to return field information. I've only done it once and it was a huge pain in the ass.
>>53322983
why not port youtube-dl to java, then?
though i can't think of a relevant platform python doesn't run on
>>53323059
-- fuck, if you want to be really dirty you could try running youtube-dl under Jython
look into tools like selenium but for java