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

Randomly got an error from random() #74

Closed
iced-queen opened this issue Jul 24, 2023 · 4 comments
Closed

Randomly got an error from random() #74

iced-queen opened this issue Jul 24, 2023 · 4 comments

Comments

@iced-queen
Copy link

Error:

Error: 403 Forbidden at https://www.pornhub.com/random`
 at Request.checkStatus (C:\Users\Administrator\Desktop\...\...\node_modules\pornhub.js\dist\index.js:613:27)
@pionxzh
Copy link
Owner

pionxzh commented Jul 24, 2023

I think this one couldn't be fixed on the library side....

@pionxzh
Copy link
Owner

pionxzh commented Jul 24, 2023

Let me know if you find any pattern on this.

@pionxzh pionxzh closed this as not planned Won't fix, can't repro, duplicate, stale Jul 24, 2023
@iced-queen
Copy link
Author

Can't you use while for example? Like you could retry the process "while" an error is 403.

@pionxzh
Copy link
Owner

pionxzh commented Jul 25, 2023

See #68 (comment)
Doing this on the library side is troublesome, and hard for the user to customize the behavior and strategy.

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

No branches or pull requests

2 participants