[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
How would you use Java for passing a string into a text field
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 17
Thread images: 1
File: youtube-mp3.jpg (43 KB, 400x191) Image search: [Google]
youtube-mp3.jpg
43 KB, 400x191
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
Thread replies: 17
Thread images: 1

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.