TinderBotz icon indicating copy to clipboard operation
TinderBotz copied to clipboard

Steps to make it run

Open mizitean opened this issue 7 months ago • 3 comments

GET CODE FROM THIS PULL REQUEST https://github.com/frederikme/TinderBotz/pull/130#issue-2081949157

and then follow steps

U MIGHT HAVE DIFFERENT VERSION THAN MINE (3.10), BUT IT SHOULD WORK FOR YOUR VERSION ALSO

  1. Comment in session.py # self.browser.quit()

  2. Navigate to the undetected_chromedriver Package Directory: cd /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/undetected_chromedriver

  3. Update certifi: Ensure you have the latest version of the certifi package: /Library/Frameworks/Python.framework/Versions/3.10/bin/python3 -m pip install --upgrade certifi

  4. Edit the patcher.py File nano patcher.py

  5. Modify the fetch_release_number Method:

def fetch_release_number(self):
    context = ssl.create_default_context(cafile=certifi.where())
    
    with urlopen(self.url_repo + path, context=context) as conn:
        # existing code to fetch and process the release number
        ...

  1. Save the Changes: Press Control + X, then Y, then Enter
  2. Set the Environment Variable in session.py
import os
import certifi
os.environ['SSL_CERT_FILE'] = certifi.where()

https://github.com/frederikme/TinderBotz/pull/130#issuecomment-2211444862

mizitean avatar Jul 05 '24 21:07 mizitean