Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error About Browser #62

Open
larismuss opened this issue Nov 30, 2023 · 3 comments
Open

Error About Browser #62

larismuss opened this issue Nov 30, 2023 · 3 comments

Comments

@larismuss
Copy link

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"

@suchencjusz
Copy link
Contributor

Hello,

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

@larismuss
Copy link
Author

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

@stefan2200
Copy link
Owner

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,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants