X
X
Xveeder2017-08-13 15:03:16
C++ / C#
Xveeder, 2017-08-13 15:03:16

Based on what is it better to write bots for working with sites for a novice C # programmer?

Hello.
I am actively learning C#. Interested in writing bots for social networks. networks, creators, parsers that will work with the site directly through the browser (yes, I know that they will work many times slower). The issue is that many people say that get/post bots fire much faster than browser bots.
Accordingly, the question arose, based on what solution is best to write browser automation for a beginner? Mostly they talk about Selenium, Webbrowser, some advise working with the Chrome engine.
At a minimum, we are interested in options in which the thread is executed in the tray, without occupying the active window of the computer.
Thank you.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
Oleg Pogrebnyak, 2017-08-13
@S0HardCore

At a minimum, we are interested in options in which the thread is executed in the tray, without occupying the active window of the computer.

Two streams: one priority - where there will be key actions: requests, parsing, processing; the other is responsible for the rest. The application can be minimized to the tray, regardless of whether it is a bot or something else.
google -> minimize to tray
The difference is minimal. If you need to send simple requests, then WebBrowser. If it's more complex, where there is a ddos-filter or anything that recognizes frequent attempts, then you can use both Selenium and configure WebBrowser: user agent, cookies, proxy, etc. In my experience, it was easier to use WebBrowser, since there was no delay in the first launch and responses came faster.

V
Vitaly, 2017-08-17
@vitosua

can't all bots be made as a chrome extension? You will have to write in javascript, but they are hidden and the display of results can be made easier many times through the browser it will still work ..

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question