From f960dee863bbc58f1b295cd766d9c64ad8ec8f21 Mon Sep 17 00:00:00 2001 From: Leon Date: Thu, 9 Feb 2023 12:03:25 +0100 Subject: [PATCH 1/4] Limiting down the issue tracker and introducing Undetected-Discussions --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f3c4199..c057494 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,12 @@ Automatically downloads the driver binary and patches it. * Works also on Brave Browser and many other Chromium based browsers, some tweaking * Python 3.6++** - +- - - +## Message for all ## +I will be putting limits on the issue tracker. It has beeen abused too long. +any good news? +Yes, i've opened [discussions](https://github.com/ultrafunkamsterdam/undetected-chromedriver/discussions) which i think will help us better in the long run. +- - - ## 3.4.5 ## - What a week. Had the recent advancedments in Automation-Detection algorithms pwned (so i thought) with 3.4.0, but apparently, for some OS-es this caused an error when interacting with elements. Had to revert back using a different method, fix bugs, and now eventually was still able to stick to the initial idea (+ fixing bugs) From 7c6ab42d7b349408643901ab9fdd406e4cb0eb1a Mon Sep 17 00:00:00 2001 From: Leon Date: Thu, 9 Feb 2023 12:09:49 +0100 Subject: [PATCH 2/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c057494..d405c9c 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Automatically downloads the driver binary and patches it. ## Message for all ## I will be putting limits on the issue tracker. It has beeen abused too long. any good news? -Yes, i've opened [discussions](https://github.com/ultrafunkamsterdam/undetected-chromedriver/discussions) which i think will help us better in the long run. +Yes, i've opened [Undetected-Discussions](https://github.com/ultrafunkamsterdam/undetected-chromedriver/discussions) which i think will help us better in the long run. - - - ## 3.4.5 ## From ca5fe635b9894cd8f657c0c6023a24900b0d4d71 Mon Sep 17 00:00:00 2001 From: UltrafunkAmsterdam Date: Fri, 10 Feb 2023 19:19:10 +0100 Subject: [PATCH 3/4] patch referenced before assignment --- undetected_chromedriver/patcher.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/undetected_chromedriver/patcher.py b/undetected_chromedriver/patcher.py index 1f6b5bd..24da802 100644 --- a/undetected_chromedriver/patcher.py +++ b/undetected_chromedriver/patcher.py @@ -225,16 +225,16 @@ class Patcher(object): len(target_bytes), b" " ) ) - new_content = content.replace(target_bytes, new_target_bytes) - if new_content == content: - logger.warning( - "something went wrong patching the driver binary. could not find injection code block" - ) - else: - logger.debug( - "found block:\n%s\nreplacing with:\n%s" - % (target_bytes, new_target_bytes) - ) + new_content = content.replace(target_bytes, new_target_bytes) + if new_content == content: + logger.warning( + "something went wrong patching the driver binary. could not find injection code block" + ) + else: + logger.debug( + "found block:\n%s\nreplacing with:\n%s" + % (target_bytes, new_target_bytes) + ) fh.seek(0) fh.write(new_content) logger.debug( From bf7dcf8b5713020de7454844fb80036b8c456503 Mon Sep 17 00:00:00 2001 From: UltrafunkAmsterdam Date: Fri, 10 Feb 2023 19:29:02 +0100 Subject: [PATCH 4/4] 3.4.6 --- undetected_chromedriver/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/undetected_chromedriver/__init__.py b/undetected_chromedriver/__init__.py index c270219..6c73ab2 100644 --- a/undetected_chromedriver/__init__.py +++ b/undetected_chromedriver/__init__.py @@ -17,7 +17,7 @@ by UltrafunkAmsterdam (https://github.com/ultrafunkamsterdam) from __future__ import annotations -__version__ = "3.4.5" +__version__ = "3.4.6" import json import logging