TWB icon indicating copy to clipboard operation
TWB copied to clipboard

Error About Browser

Open larismuss opened this issue 1 year ago • 3 comments

What is that error? How can I start this bot? "No custom user agent was supplied, this will likely get you banned.Please set the bot -> user_agent parameter to your browsers one. Just google what is my user agent"

larismuss avatar Nov 30 '23 11:11 larismuss

Hello,

Here you can generate user agents https://useragents.io/random. Alternatively you can copy UA from http request from your browser.

suchencjusz avatar Nov 30 '23 11:11 suchencjusz

Ok. But how can I use this agent in terminal ?

larismuss avatar Nov 30 '23 11:11 larismuss

I'd suggest you use the user agent of your browser since a random one would send two different agents with one single cookie (that will probably get you banned). You are likely getting the error because something went wrong with the initial set-up.

You can just delete the config.json file and restart the bot. If it asks for the user agent, just search Google for What is my user agent it will likely start with something such as Mozilla/5.0 [...] Safari/3234. Just copy that information and when the bot asks for it, right click in the terminal (if you are using Windows) followed by an enter,

stefan2200 avatar Nov 30 '23 16:11 stefan2200