TinderBotz
TinderBotz copied to clipboard
Steps to make it run
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
-
Comment in session.py
# self.browser.quit()
-
Navigate to the undetected_chromedriver Package Directory:
cd /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/undetected_chromedriver
-
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
-
Edit the patcher.py File
nano patcher.py
-
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
...
- Save the Changes:
Press Control + X, then Y, then Enter
- 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