GithubHelp home page GithubHelp logo

Comments (5)

Emrys-Lee-XD avatar Emrys-Lee-XD commented on July 29, 2024

https://github.com/klept0/MS-Rewards-Farmer
this fork should solve the problem

from microsoft-rewards-farmer.

Germanmv93 avatar Germanmv93 commented on July 29, 2024

2024-02-17 09:47:31,002 [INFO] Using default request storage
2024-02-17 09:47:31,006 [INFO] Created proxy listening on 127.0.0.1:50445
2024-02-17 09:47:31,006 [INFO] Using undetected_chromedriver
2024-02-17 09:47:31,257 [ERROR] HTTPError: HTTP Error 404: Not Found
Traceback (most recent call last):
File "C:\Users\germa\OneDrive\Escritorio\MS-Rewards-Farmer-master\main.py", line 47, in main
earned_points = executeBot(currentAccount, notifier, args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\germa\OneDrive\Escritorio\MS-Rewards-Farmer-master\main.py", line 221, in executeBot
with Browser(mobile=False, account=currentAccount, args=args) as desktopBrowser:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\germa\OneDrive\Escritorio\MS-Rewards-Farmer-master\src\browser.py", line 41, in init
self.webdriver = self.browserSetup()
^^^^^^^^^^^^^^^^^^^
File "C:\Users\germa\OneDrive\Escritorio\MS-Rewards-Farmer-master\src\browser.py", line 86, in browserSetup
driver = webdriver.Chrome(
^^^^^^^^^^^^^^^^^
File "C:\Users\germa\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\seleniumwire\undetected_chromedriver\webdriver.py", line 61, in init
super().init(*args, **kwargs)
File "C:\Users\germa\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\undetected_chromedriver_init_.py", line 258, in init
self.patcher.auto()
File "C:\Users\germa\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\undetected_chromedriver\patcher.py", line 178, in auto
self.unzip_package(self.fetch_package())
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\germa\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\undetected_chromedriver\patcher.py", line 287, in fetch_package
return urlretrieve(download_url)[0]
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\urllib\request.py", line 240, in urlretrieve
with contextlib.closing(urlopen(url, data)) as fp:
^^^^^^^^^^^^^^^^^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\urllib\request.py", line 215, in urlopen
return opener.open(url, data, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\urllib\request.py", line 521, in open
response = meth(req, response)
^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\urllib\request.py", line 630, in http_response
response = self.parent.error(
^^^^^^^^^^^^^^^^^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\urllib\request.py", line 559, in error
return self._call_chain(*args)
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\urllib\request.py", line 492, in _call_chain
result = func(*args)
^^^^^^^^^^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\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

from microsoft-rewards-farmer.

Emrys-Lee-XD avatar Emrys-Lee-XD commented on July 29, 2024

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

from microsoft-rewards-farmer.

proyb213 avatar proyb213 commented on July 29, 2024

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

I dont have patcher.py in any of my site-packages folders

from microsoft-rewards-farmer.

Emrys-Lee-XD avatar Emrys-Lee-XD commented on July 29, 2024

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

I dont have patcher.py in any of my site-packages folders

this is already fixed, try this version
https://github.com/klept0/MS-Rewards-Farmer

from microsoft-rewards-farmer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.