TheNetsky / Microsoft-Rewards-Script

Automated Microsoft Rewards script, using TypeScript, Cheerio and Playwright.
231 stars 51 forks source link

Support new quests: Read To Earn & Daily Check-in #138

Closed hmcdat closed 2 months ago

hmcdat commented 2 months ago

I added two quest including Daily check-in reward and Read To Earn, supported all regions. Tell me if any regions don't support.

TheNetsky commented 2 months ago

Great work, I'll take a look at it soon!

OrangeChu commented 2 months ago

Data can be retrieved, but points cannot be earned normally.

[MAIN-POINTS] You can earn 220 points today (Browser: 185 points, App: 35 points)

Region: China

hmcdat commented 2 months ago

I recommend you to set the option searchSettings.useGeoLocaleQueries = true in the config.json. If it isn't working, can you show me your runtime console?

TheNetsky commented 2 months ago

I'm pretty sure GoogleTrends does not work in China, see https://github.com/TheNetsky/Microsoft-Rewards-Script/issues/136

OrangeChu commented 2 months ago

Yep, so I set searchSettings.useGeoLocaleQueries = false, and directly use en-US GoogleTrends.

TheNetsky commented 2 months ago

I think unless you're using a VPN it won't work, I assume, no matter where you set the geoLocale to.

OrangeChu commented 2 months ago

You are right. I am now using a VPN to access GoogleTrends data (and setting searchSettings.useGeoLocaleQueries = false, because even when using a VPN, the GoogleTrends data obtained for zh-CN is blank). I can now normally obtain the search scores. However, the scores for this new feature still cannot be obtained.

hmcdat commented 2 months ago

Can you change the changelog to the current title? I think it needs a short and specific detail.

TheNetsky commented 2 months ago

Can you change the changelog to the current title? I think it needs a short and specific detail.

Done

mgrimace commented 2 months ago

Nice work! FYI anyone using docker will likely need to stop, remove the container, and rebuild the container using docker compose up -d --build to integrate the new config options. I don't believe docker compose up -d alone will grab the new source config.

For example:

docker stop netsky && docker rm netsky && docker system prune -a -f
docker compose up -d --build
OrangeChu commented 2 months ago

The new version caused all searches to fail. After rolling back to version 1.4.8, the search function is working normally. I will add more information about the failure later.

TheNetsky commented 2 months ago

Open up a issue instead, easier