feat: enhance URL comparison logic and Chrome debugging configuration

- Added a new function to ensure URLs have a scheme, defaulting to 'http://' if missing.
- Integrated tldextract to normalize URLs by extracting domain parts and handling 'www' subdomains.
- Updated the compare_urls function to include logging for better traceability during URL comparisons.
- Added tldextract to requirements.txt to support the new functionality.
- Updated the AWS manager with a new AMI ID for the specified resolution.
- Modified Chrome desktop launcher to include --remote-debugging-port=1337 for GUI debugging support.

These changes improve the robustness of URL handling and enable consistent Chrome debugging capabilities without altering existing logic.
This commit is contained in:
yuanmengqi
2025-07-18 17:55:45 +00:00
parent 1ade6fe439
commit 4fa59ebba2
3 changed files with 48 additions and 16 deletions

View File

@@ -62,3 +62,4 @@ azure-mgmt-network
docker
loguru
dotenv
tldextract