Answer the question
In order to leave comments, you need to log in
What language is better to automate actions on the site?
1. I know Java well. It seems cumbersome to me for a task like "find forbidden words in user comments in the VK public and ban for a week."
2. I don't know Javascript well. Intuitively I feel that it is better suited for the task. Plus it's possible to practice with jQuery. However, I don’t understand how it can be made into a desktop application.
3. I once performed similar tasks using VBScript. I don't even want to remember.
4. Suggest and justify your other option.
Answer the question
In order to leave comments, you need to log in
If you need a desktop application - write in Java, since you already know. If you need a service (server or local, it doesn't matter, the main thing is that the service) take Node.js. He is good. If the task is not much more difficult than "clearing the wall", browser-based javascript may suffice.
In short, javascript 2 to 1.
Java is a very suitable tool that has everything you need.
I think your cases will be completely covered by a bunch of Selenium and PhantomJS .
Selenium is a framework for automating browser actions. Most often used when writing UI tests. Allows you to perform actions like "load page at such and such URL", "wait for loading of such and such ajax piece", "scroll page down", etc.
PhantomJS is a headless browser with WebKit inside. It will be managed by Selenium. Allows you to get fully rendered pages, with JavaScript running, just like a full-fledged browser would. Pages can be screenshotted, which can be useful in your task.
javascript + nodewebkit
https://github.com/rogerwang/node-webkit
Python parses data very easily and concisely with a couple of libraries.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question