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

fix: certain sites do not pass URL validation > not fix #6

Open
shseok opened this issue Sep 7, 2023 · 0 comments
Open

fix: certain sites do not pass URL validation > not fix #6

shseok opened this issue Sep 7, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@shseok
Copy link
Owner

shseok commented Sep 7, 2023

Certain URLs cause a 422 error in axios.get(url).

  1. Security and permissions
    Certain websites may have security policies or permission controls. Login or permission may be required to access the URL.
  2. Specific User-Agent Requirement
    Some websites may require a specific User-Agent.
  3. Website Crawling Policy
    Web crawling may be prohibited depending on robot.txt or the website's crawling policy.

For the above reasons, rather than handling validation failure on the server, we introduced an alternative that prompts the client to input a different URL if validation fails once.

ex) url : https://www.similarweb.com/

@shseok shseok added the bug Something isn't working label Sep 14, 2023
@shseok shseok self-assigned this May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant