Skip to content
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

Support phantom.app user agent #249

Merged
merged 2 commits into from
Mar 29, 2024

Conversation

kunalmodi
Copy link
Contributor

#209 was a little permissive, and blocks popular mobile application https://phantom.app/. Hoping we could restrict the pattern to just PhantomJS to allow Phantom.app traffic to not be recognized as a bot

@kunalmodi
Copy link
Contributor Author

CI Failure seems unrelated to my exact change as far as I can tell (something about Ecosia). I had a clean run locally with npm run build && npm run prepare && npm run test

@omrilotan
Copy link
Owner

Nice one, thank you.
Does phantomjs ever have that dot? I've never encountered it

src/patterns.json Outdated Show resolved Hide resolved
@omrilotan omrilotan merged commit b56a34a into omrilotan:main Mar 29, 2024
8 checks passed
@kunalmodi
Copy link
Contributor Author

Ah good call, I saw Phantom.JS but didn't notice it had "bot" in it as well. Thanks for your help fixing this and getting it in!

@omrilotan
Copy link
Owner

omrilotan commented Mar 29, 2024

I appreciate your contribution. This change is included in version 5.1.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants