-
Notifications
You must be signed in to change notification settings - Fork 44.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use playwright instead of requests for browse #96
Use playwright instead of requests for browse #96
Conversation
Removing unnecessary files
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Split into atomic PRs.
.gitignore
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Submit this change as a separate PR. PRs should be atomic, not mixing unrelated changes together.
requirements.txt
Outdated
@@ -1,6 +1,6 @@ | |||
beautifulsoup4 | |||
colorama==0.4.6 | |||
dirtyjson==1.0. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why? It is unrelated to the Playwrite replacements. Separate PR. Even if it was related, delete, not comment.
requirements.txt
Outdated
@@ -9,5 +9,5 @@ readability-lxml==0.8.1 | |||
requests | |||
tiktoken==0.3.3 | |||
docker | |||
# googlesearch-python |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pinning down a dependency is unrelated. Put to a separate PR.
scripts/json_parser.py
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using JSON instead of Dirty JSON should be either in a separate PR or documented in the description of this PR as for why it is important
@ryanmac Resolve the conflicts |
Looks good for the most part if you do decide to update this move to commands/ and remove duplicate functions please. |
…_interfaces_and_types feat: add interfaces, types and constants file
…owser Use playwright instead of requests for browse
Switch out the browse feature with Playwright. Many sites do not work with
requests
. Playwright imitates the browser better.This also adds a new requirement for install:
This also includes:
auto_gpt_workspace/*
in.gitignore