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

Add headers option #89

Merged
merged 5 commits into from
Jun 11, 2024
Merged

Add headers option #89

merged 5 commits into from
Jun 11, 2024

Conversation

dphiffer
Copy link
Member

@dphiffer dphiffer commented Jun 11, 2024

Adds a new headers option and bumps the version to 3.1.0.

const result = await collect(`https://themarkup.org`, {
    numPages: 1,
    headless: false,
    headers: {
        "Sec-GPC": "1"
    }
});

@dphiffer dphiffer changed the title addRequestHeader option addRequestHeaders option Jun 11, 2024
@dphiffer dphiffer changed the title addRequestHeaders option Add headers option Jun 11, 2024
@dphiffer dphiffer changed the title Add headers option Add header options Jun 11, 2024
@dphiffer dphiffer changed the title Add header options Add headers option Jun 11, 2024
@dphiffer dphiffer merged commit 237fef9 into main Jun 11, 2024
1 check passed
@dphiffer dphiffer deleted the header-options branch June 11, 2024 18:53
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