TheNetsky / Microsoft-Rewards-Script

Automated Microsoft Rewards script, using TypeScript, Cheerio and Playwright.
189 stars 44 forks source link

How to declare country ? #148

Closed SapitoSucio closed 3 weeks ago

SapitoSucio commented 3 weeks ago

I'm getting this

image

I assume it's because the bot places a 'US' parameter?

How can I change it ?

SapitoSucio commented 3 weeks ago

I added this and now it's in spanish

args: [
                '--no-sandbox',
                '--mute-audio',
                '--disable-setuid-sandbox',
                '--ignore-certificate-errors',
                '--ignore-certificate-errors-spki-list',
                '--ignore-ssl-errors',
                '--lang=es-MX'
            ]
luxcas0212 commented 3 weeks ago

i also have this problem, where did you put this?

luxcas0212 commented 3 weeks ago

I found it, I'll test it here too

SapitoSucio commented 3 weeks ago

The solution I provided is not enough. It would start in spanish but then it's changed to English

TheNetsky commented 3 weeks ago

Are you using a proxy? It's just IP based, as far as I know.

SapitoSucio commented 3 weeks ago

Are you using a proxy?

Not at all

It's just IP based, as far as I know.

I don't believe that's entirely accurate. When I visit bing rewards through my primary browser (Edge), everything appears correctly in Spanish. However, when the bot launches Chromium, bing rewards defaults to English. It seems like it might be interpreting this browser switch as a change in location, and that doesn't sound gucci to me 😥

TheNetsky commented 3 weeks ago

I don't think display language matters all that much? I think you can set it to display in whatever language you want. However it checks location by IP, since it only gives me that page if I turn on my VPN.

luxcas0212 commented 3 weeks ago

here it seems to have been solved, I no longer have the error page

luxcas0212 commented 3 weeks ago

I looked on reddit and people there also have this problem, it seems to be more a problem involving the rewards than the bot