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] Stuck at logged in #441

Open Shivamroy05 opened 9 months ago

Shivamroy05 commented 9 months ago

Before submitting a bug report...

Title

Describe the bug

Traceback (most recent call last): File "C:\Users\shiva\OneDrive\Desktop\Microsoft-Rewards-Farmer-master\main.py", line 24, in main executeBot(currentAccount, notifier, args) File "C:\Users\shiva\OneDrive\Desktop\Microsoft-Rewards-Farmer-master\main.py", line 127, in executeBot with Browser(mobile=False, account=currentAccount, args=args) as desktopBrowser: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\shiva\OneDrive\Desktop\Microsoft-Rewards-Farmer-master\src\browser.py", line 41, in init self.webdriver = self.browserSetup() ^^^^^^^^^^^^^^^^^^^ File "C:\Users\shiva\OneDrive\Desktop\Microsoft-Rewards-Farmer-master\src\browser.py", line 77, in browserSetup driver = webdriver.Chrome( ^^^^^^^^^^^^^^^^^ File "C:\Users\shiva\AppData\Roaming\Python\Python312\site-packages\seleniumwire\undetected_chromedriver\webdriver.py", line 61, in init super().init(*args, *kwargs) File "C:\Users\shiva\AppData\Roaming\Python\Python312\site-packages\undetected_chromedriver__init.py", line 258, in init__ self.patcher.auto() File "C:\Users\shiva\AppData\Roaming\Python\Python312\site-packages\undetected_chromedriver\patcher.py", line 178, in auto self.unzip_package(self.fetch_package()) ^^^^^^^^^^^^^^^^^^^^ File "C:\Users\shiva\AppData\Roaming\Python\Python312\site-packages\undetected_chromedriver\patcher.py", line 287, in fetch_package return urlretrieve(download_url)[0] ^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\Python312\Lib\urllib\request.py", line 240, in urlretrieve with contextlib.closing(urlopen(url, data)) as fp: ^^^^^^^^^^^^^^^^^^ File "C:\Program Files\Python312\Lib\urllib\request.py", line 215, in urlopen return opener.open(url, data, timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\Python312\Lib\urllib\request.py", line 521, in open response = meth(req, response) ^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\Python312\Lib\urllib\request.py", line 630, in http_response response = self.parent.error( ^^^^^^^^^^^^^^^^^^ File "C:\Program Files\Python312\Lib\urllib\request.py", line 559, in error return self._call_chain(args) ^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\Python312\Lib\urllib\request.py", line 492, in _call_chain result = func(*args) ^^^^^^^^^^^ File "C:\Program Files\Python312\Lib\urllib\request.py", line 639, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 404: Not Found

Copy and paste your error

Traceback (most recent call last): File "C:\Users\shiva\OneDrive\Desktop\Microsoft-Rewards-Farmer-master\main.py", line 24, in main executeBot(currentAccount, notifier, args) File "C:\Users\shiva\OneDrive\Desktop\Microsoft-Rewards-Farmer-master\main.py", line 127, in executeBot with Browser(mobile=False, account=currentAccount, args=args) as desktopBrowser: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\shiva\OneDrive\Desktop\Microsoft-Rewards-Farmer-master\src\browser.py", line 41, in init self.webdriver = self.browserSetup() ^^^^^^^^^^^^^^^^^^^ File "C:\Users\shiva\OneDrive\Desktop\Microsoft-Rewards-Farmer-master\src\browser.py", line 77, in browserSetup driver = webdriver.Chrome( ^^^^^^^^^^^^^^^^^ File "C:\Users\shiva\AppData\Roaming\Python\Python312\site-packages\seleniumwire\undetected_chromedriver\webdriver.py", line 61, in init super().init(*args, *kwargs) File "C:\Users\shiva\AppData\Roaming\Python\Python312\site-packages\undetected_chromedriver__init.py", line 258, in init__ self.patcher.auto() File "C:\Users\shiva\AppData\Roaming\Python\Python312\site-packages\undetected_chromedriver\patcher.py", line 178, in auto self.unzip_package(self.fetch_package()) ^^^^^^^^^^^^^^^^^^^^ File "C:\Users\shiva\AppData\Roaming\Python\Python312\site-packages\undetected_chromedriver\patcher.py", line 287, in fetch_package return urlretrieve(download_url)[0] ^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\Python312\Lib\urllib\request.py", line 240, in urlretrieve with contextlib.closing(urlopen(url, data)) as fp: ^^^^^^^^^^^^^^^^^^ File "C:\Program Files\Python312\Lib\urllib\request.py", line 215, in urlopen return opener.open(url, data, timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\Python312\Lib\urllib\request.py", line 521, in open response = meth(req, response) ^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\Python312\Lib\urllib\request.py", line 630, in http_response response = self.parent.error( ^^^^^^^^^^^^^^^^^^ File "C:\Program Files\Python312\Lib\urllib\request.py", line 559, in error return self._call_chain(args) ^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\Python312\Lib\urllib\request.py", line 492, in _call_chain result = func(*args) ^^^^^^^^^^^ File "C:\Program Files\Python312\Lib\urllib\request.py", line 639, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 404: Not Found

Screenshots

Screenshot (224)

Value of dashboard variable

image

Germanmv93 commented 9 months ago

Same for me

Natriumpikant commented 9 months ago

+1

Emrys-Lee-XD commented 9 months ago

Use Win+R to run %LOCALAPPDATA%\Programs\Python**PythonVERSION**\Lib\site-packages change PythonVERSION to your version like Python38, Python311,etc. Then find patcher.py Open it with notpad o any coding program like Visual Studio Code Using Ctrl+F find download_url = "https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/%s/%s/%s" should be in line 238 then replace it with download_url = "https://storage.googleapis.com/chrome-for-testing-public/%s/%s/%s" save and quit run script as usual

Shivamroy05 commented 9 months ago

Thanks 🤩 Love u sir🧡🧡

On Sat, 17 Feb 2024 at 2:36 PM, EmrysLee @.***> wrote:

Use Win+R to run %LOCALAPPDATA%\Programs\PythonPythonVERSION\Lib\site-packages change PythonVERSION to your version like Python38, Python311,etc. Then find patcher.py Open it with notpad o any coding program like Visual Studio Code Using Ctrl+F find download_url = " https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/%s/%s/%s" should be in line 238 then replace it with download_url = " https://storage.googleapis.com/chrome-for-testing-public/%s/%s/%s" save and quit run script as usual

— Reply to this email directly, view it on GitHub https://github.com/charlesbel/Microsoft-Rewards-Farmer/issues/441#issuecomment-1949908986, or unsubscribe https://github.com/notifications/unsubscribe-auth/BB363CCK6JILYILGIUDEIRLYUBXILAVCNFSM6AAAAABDMWZNWCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBZHEYDQOJYGY . You are receiving this because you authored the thread.Message ID: @.***>