-
-
Notifications
You must be signed in to change notification settings - Fork 366
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
custom http reffer #1113
Comments
Create a custom proxy with golang? |
How about this? |
I use this code
Output
X-Header do work. Referer do not work |
Not sure why it doesn't work. The cdp api doesn't have other options to set extra headers. |
playwright or browserless or puppeteer can do it. this is playwright code.
|
You can log the cdp calls of puppeteer and compare it with rod's to check what makes the difference. |
Do go-rod has a function like PageGotoOptions in playwright or puppeteer? |
I added one, will push it later, this is a bug of rod |
|
It works.Thanks. |
Rod Version: v0.116.2
The code to demonstrate your question
I want to add Referrer field to web scraping,I can use HijackRequests,but it is very slow.
Is there any way to get it simply?
The text was updated successfully, but these errors were encountered: