charlesbel / Microsoft-Rewards-Farmer

A simple bot that uses selenium to farm Microsoft Rewards written in Python
MIT License
1.02k stars 273 forks source link

[BUG] pcSearch or idk the real thing #66

Closed Lucas559-noob closed 3 years ago

Lucas559-noob commented 3 years ago

MAKE SURE THE ERROR IS NOT FROM YOU, THIS IS THE MOST FREQUENT CASE

Error Log

[MORE PROMO] Trying to complete More Promotions...
←[92m[MORE PROMO] Completed More Promotions successfully !←[00m
Traceback (most recent call last):
  File "C:\Users\Lucas\Desktop\Microsoft-Rewards-Farmer-master\ms_rewards_farmer
.py", line 766, in <module>
    remainingSearches, remainingSearchesM = getRemainingSearches(browser)
  File "C:\Users\Lucas\Desktop\Microsoft-Rewards-Farmer-master\ms_rewards_farmer
.py", line 687, in getRemainingSearches
    progressDesktop = counters['pcSearch'][0]['pointProgress'] + counters['pcSea
rch'][1]['pointProgress']
KeyError: 'pcSearch'

On 5 tries, on all the last thing was this and it stop working

charlesbel commented 3 years ago

It seems you are in a country without pc searches, I deployed a fix