René's URL Explorer Experiment


Title: fix(playwright): scope custom request headers to the navigation request by vdusek · Pull Request #2173 · apify/crawlee-python · GitHub

Open Graph Title: fix(playwright): scope custom request headers to the navigation request by vdusek · Pull Request #2173 · apify/crawlee-python

X Title: fix(playwright): scope custom request headers to the navigation request by vdusek · Pull Request #2173 · apify/crawlee-python

Description: Crawlee—A web scraping and browser automation library for Python to build reliable crawlers. Extract structured data with LLMs via Pydantic AI, or control the browser in natural language with Stagehand. Works with BeautifulSoup, Parsel, Playwright, and raw HTTP. Download HTML, PDF, images, and other files. Proxy rotation included. - fix(playwright): scope custom request headers to the navigation request by vdusek · Pull Request #2173 · apify/crawlee-python

Open Graph Description: Description PlaywrightCrawler._navigate() applied Request.headers page-wide via page.set_extra_http_headers(), so the browser attached them to every request the page initiated - including cross-or...

X Description: Description PlaywrightCrawler._navigate() applied Request.headers page-wide via page.set_extra_http_headers(), so the browser attached them to every request the page initiated - including cross-or...

Opengraph URL: https://github.com/apify/crawlee-python/pull/2173

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:c736dc95-10f3-3489-34bf-a3c22ab7dfa1
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8028:24A0A:10020B:140B36:6B00F266
html-safe-nonce9d90c74928ed1d1e25fa0eeef2ed77c93c01924931ccc95b388bfe433d2d3832
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MDI4OjI0QTBBOjEwMDIwQjoxNDBCMzY6NkIwMEYyNjYiLCJ2aXNpdG9yX2lkIjoiNjQxMTkzOTUyODE4OTIxMTIzOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacbc81059d6d9138dcd06a7ac39708e00392fb42fc22d319d57f854cff2c7717ee
hovercard-subject-tagpull_request:4306510614
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/apify/crawlee-python/2173/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/fe5a1870409e76c8bfc55688d1582ec9468e119f6195b4d89fa1c6a55dfc8d13/apify/crawlee-python/pull/2173
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/fe5a1870409e76c8bfc55688d1582ec9468e119f6195b4d89fa1c6a55dfc8d13/apify/crawlee-python/pull/2173
og:image:altDescription PlaywrightCrawler._navigate() applied Request.headers page-wide via page.set_extra_http_headers(), so the browser attached them to every request the page initiated - including cross-or...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevdusek
hostnamegithub.com
expected-hostnamegithub.com
None4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc
turbo-cache-controlno-cache
go-importgithub.com/apify/crawlee-python git https://github.com/apify/crawlee-python.git
octolytics-dimension-user_id24586296
octolytics-dimension-user_loginapify
octolytics-dimension-repository_id741365632
octolytics-dimension-repository_nwoapify/crawlee-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id741365632
octolytics-dimension-repository_network_root_nwoapify/crawlee-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9983dd5da06943f833c971dd5b6bc988e2858be5
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/apify/crawlee-python/pull/2173#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapify%2Fcrawlee-python%2Fpull%2F2173
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapify%2Fcrawlee-python%2Fpull%2F2173
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=apify%2Fcrawlee-python
Reloadhttps://github.com/apify/crawlee-python/pull/2173
Reloadhttps://github.com/apify/crawlee-python/pull/2173
Reloadhttps://github.com/apify/crawlee-python/pull/2173
apifyhttps://github.com/apify
crawlee-pythonhttps://github.com/apify/crawlee-python
Codehttps://github.com/apify/crawlee-python
Issues72 (72)https://github.com/apify/crawlee-python/issues
Pull requests14 (14)https://github.com/apify/crawlee-python/pulls
Discussionshttps://github.com/apify/crawlee-python/discussions
Actionshttps://github.com/apify/crawlee-python/actions
Security and quality1 (1)https://github.com/apify/crawlee-python/security
Insightshttps://github.com/apify/crawlee-python/insights
https://github.com/apify/crawlee-python
vdusekhttps://github.com/vdusek
masterhttps://github.com/apify/crawlee-python/tree/master
fix/playwright-scope-request-headers-to-navigationhttps://github.com/apify/crawlee-python/tree/fix/playwright-scope-request-headers-to-navigation
Conversationhttps://github.com/apify/crawlee-python/pull/2173
Commits5 (5)https://github.com/apify/crawlee-python/pull/2173/commits
Checkshttps://github.com/apify/crawlee-python/pull/2173/checks
Files changedhttps://github.com/apify/crawlee-python/pull/2173/files
fix(playwright): scope custom request headers to the navigation requesthttps://github.com/apify/crawlee-python/pull/2173#top
vdusekhttps://github.com/vdusek
masterhttps://github.com/apify/crawlee-python/tree/master
fix/playwright-scope-request-headers-to-navigationhttps://github.com/apify/crawlee-python/tree/fix/playwright-scope-request-headers-to-navigation
https://github.com/vdusek
vdusekhttps://github.com/vdusek
Aug 18, 2026https://github.com/apify/crawlee-python/pull/2173#issue-5184060736
Please reload this pagehttps://github.com/apify/crawlee-python/pull/2173
Please reload this pagehttps://github.com/apify/crawlee-python/pull/2173
https://github.com/vdusek
fix(playwright): scope custom request headers to the navigation requesthttps://github.com/apify/crawlee-python/pull/2173/commits/64e272cf0a4ac4eb387ee988d0a352654b8c405e
64e272chttps://github.com/apify/crawlee-python/pull/2173/commits/64e272cf0a4ac4eb387ee988d0a352654b8c405e
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
vdusekhttps://github.com/vdusek
Aug 18, 2026https://github.com/apify/crawlee-python/pull/2173#event-29632409325
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
147th sprint - Tooling teamhttps://github.com/apify/crawlee-python/milestone/504
Aug 18, 2026https://github.com/apify/crawlee-python/pull/2173#event-29632409901
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
t-tooling https://github.com/apify/crawlee-python/issues?q=state%3Aopen%20label%3At-tooling
tested https://github.com/apify/crawlee-python/issues?q=state%3Aopen%20label%3Atested
Aug 18, 2026https://github.com/apify/crawlee-python/pull/2173#event-29632410377
https://github.com/apps/codecov
codecovhttps://github.com/apps/codecov
Aug 18, 2026https://github.com/apify/crawlee-python/pull/2173#issuecomment-5331208964
Please reload this pagehttps://github.com/apify/crawlee-python/pull/2173
Codecovhttps://app.codecov.io/gh/apify/crawlee-python/pull/2173?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify
091410fhttps://app.codecov.io/gh/apify/crawlee-python/commit/091410f36cec8ef795d29b6d89428069525a4dbf?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify
0b9d79bhttps://app.codecov.io/gh/apify/crawlee-python/commit/0b9d79bcee05c82a1de871e3595b34641f2bfc5f?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify
Files with missing lineshttps://app.codecov.io/gh/apify/crawlee-python/pull/2173?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify
src/crawlee/crawlers/_playwright/_utils.pyhttps://app.codecov.io/gh/apify/crawlee-python/pull/2173?src=pr&el=tree&filepath=src%2Fcrawlee%2Fcrawlers%2F_playwright%2F_utils.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify#diff-c3JjL2NyYXdsZWUvY3Jhd2xlcnMvX3BsYXl3cmlnaHQvX3V0aWxzLnB5
2 Missing ⚠️ https://app.codecov.io/gh/apify/crawlee-python/pull/2173?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify
Flaghttps://app.codecov.io/gh/apify/crawlee-python/pull/2173/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify
unithttps://app.codecov.io/gh/apify/crawlee-python/pull/2173/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify
Click herehttps://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify#carryforward-flags-in-the-pull-request-comment
☔ View full report in Codecov by Harnesshttps://app.codecov.io/gh/apify/crawlee-python/pull/2173?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify
Share it herehttps://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify
Test Analyticshttps://docs.codecov.com/docs/test-analytics
JS Bundle Analysishttps://docs.codecov.com/docs/javascript-bundle-analysis
Please reload this pagehttps://github.com/apify/crawlee-python/pull/2173
https://github.com/vdusek
fix(playwright): match interception route by navigation request inste…https://github.com/apify/crawlee-python/pull/2173/commits/73c11b6ce6c621cb13a223b19c29ec1f4c6930e6
73c11b6https://github.com/apify/crawlee-python/pull/2173/commits/73c11b6ce6c621cb13a223b19c29ec1f4c6930e6
https://github.com/vdusek
vdusekhttps://github.com/vdusek
Pijukatelhttps://github.com/Pijukatel
August 19, 2026 07:15https://github.com/apify/crawlee-python/pull/2173#event-29666289736
https://github.com/vdusek
docs: document request header scoping in browser-based crawlershttps://github.com/apify/crawlee-python/pull/2173/commits/03c498e802dfc3e0f9a99fa0d28265b88c5fb3ae
03c498ehttps://github.com/apify/crawlee-python/pull/2173/commits/03c498e802dfc3e0f9a99fa0d28265b88c5fb3ae
https://github.com/Pijukatel
Pijukatelhttps://github.com/Pijukatel
Aug 19, 2026 https://github.com/apify/crawlee-python/pull/2173#pullrequestreview-4970346579
View reviewed changes https://github.com/apify/crawlee-python/pull/2173/files/03c498e802dfc3e0f9a99fa0d28265b88c5fb3ae
src/crawlee/crawlers/_playwright/_playwright_crawler.pyhttps://github.com/apify/crawlee-python/pull/2173/files/03c498e802dfc3e0f9a99fa0d28265b88c5fb3ae#diff-57030939af3f9613b8173fe2eb6d9f653d941685d521eba4a13d51c8e45fd8c4
Please reload this pagehttps://github.com/apify/crawlee-python/pull/2173
vdusekhttps://github.com/vdusek
August 19, 2026 11:37https://github.com/apify/crawlee-python/pull/2173#commits-pushed-50ef058
https://github.com/vdusek
refactor(playwright): extract navigation request interception into a …https://github.com/apify/crawlee-python/pull/2173/commits/50ef0580a3bae282d7450a9889ed87c7938923bc
50ef058https://github.com/apify/crawlee-python/pull/2173/commits/50ef0580a3bae282d7450a9889ed87c7938923bc
https://github.com/vdusek
docs: replace inline browser headers snippet with a runnable examplehttps://github.com/apify/crawlee-python/pull/2173/commits/0b9d79bcee05c82a1de871e3595b34641f2bfc5f
0b9d79bhttps://github.com/apify/crawlee-python/pull/2173/commits/0b9d79bcee05c82a1de871e3595b34641f2bfc5f
https://github.com/Pijukatel
Pijukatelhttps://github.com/Pijukatel
Aug 19, 2026 https://github.com/apify/crawlee-python/pull/2173#pullrequestreview-4970778598
View reviewed changes https://github.com/apify/crawlee-python/pull/2173/files/50ef0580a3bae282d7450a9889ed87c7938923bc
https://github.com/vdusek
vdusekhttps://github.com/vdusek
6f0eff4https://github.com/apify/crawlee-python/commit/6f0eff49c7396a31754a9be3ad428ae5ed08348f
Aug 19, 2026https://github.com/apify/crawlee-python/pull/2173#event-29675335743
Please reload this pagehttps://github.com/apify/crawlee-python/pull/2173
https://github.com/vdusek
vdusekhttps://github.com/vdusek
August 19, 2026 10:19https://github.com/apify/crawlee-python/pull/2173#event-29675337207
https://github.co/hiddenchars
https://github.com/apify/crawlee-python/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapify%2Fcrawlee-python%2Fpull%2F2173
https://github.com/Pijukatel
Pijukatel https://github.com/Pijukatel
https://github.com/apify/crawlee-python/pull/2173/files/50ef0580a3bae282d7450a9889ed87c7938923bc
Please reload this pagehttps://github.com/apify/crawlee-python/pull/2173
https://github.com/vdusek
vdusek https://github.com/vdusek
t-tooling https://github.com/apify/crawlee-python/issues?q=state%3Aopen%20label%3At-tooling
tested https://github.com/apify/crawlee-python/issues?q=state%3Aopen%20label%3Atested
147th sprint - Tooling team https://github.com/apify/crawlee-python/milestone/504
Please reload this pagehttps://github.com/apify/crawlee-python/pull/2173
https://github.com/vdusek
https://github.com/Pijukatel
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.