René's URL Explorer Experiment


Title: fix(crawlers): Resolve relative and invalid base URLs when extracting links by Mantisus · Pull Request #2263 · apify/crawlee-python · GitHub

Open Graph Title: fix(crawlers): Resolve relative and invalid base URLs when extracting links by Mantisus · Pull Request #2263 · apify/crawlee-python

X Title: fix(crawlers): Resolve relative and invalid base URLs when extracting links by Mantisus · Pull Request #2263 · 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(crawlers): Resolve relative and invalid base URLs when extracting links by Mantisus · Pull Request #2263 · apify/crawlee-python

Open Graph Description: Description extract_links and enqueue_links in the HTTP-based crawlers now resolve a relative <base href> against the page URL and fall back to the page URL when the base is invalid. Previous...

X Description: Description extract_links and enqueue_links in the HTTP-based crawlers now resolve a relative &lt;base href&gt; against the page URL and fall back to the page URL when the base is invalid. ...

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

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:62bb874b-7b23-2323-263f-5725d80c9594
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE922:A20F9:C8BFD8:10C13A6:6B00F627
html-safe-nonce4e9cb88468065fc986a8d84514e32f157a5350166dde6221f7d3331bbe36be82
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTIyOkEyMEY5OkM4QkZEODoxMEMxM0E2OjZCMDBGNjI3IiwidmlzaXRvcl9pZCI6IjM2NDIwNjA4ODY0NDY3NjU2MDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac4d2bc22ca84dafc5a8b9ad740e2c509a9e7fc5fa56fa08347c699a691816d693
hovercard-subject-tagpull_request:4692876115
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/2263/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/60723fac8e6129fffebfcdf5175429fe1d01ccb1c70547b0066f26b063872809/apify/crawlee-python/pull/2263
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/60723fac8e6129fffebfcdf5175429fe1d01ccb1c70547b0066f26b063872809/apify/crawlee-python/pull/2263
og:image:altDescription extract_links and enqueue_links in the HTTP-based crawlers now resolve a relative <base href> against the page URL and fall back to the page URL when the base is invalid. Previous...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameMantisus
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/2263#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapify%2Fcrawlee-python%2Fpull%2F2263
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%2F2263
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/2263
Reloadhttps://github.com/apify/crawlee-python/pull/2263
Reloadhttps://github.com/apify/crawlee-python/pull/2263
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
apify:masterhttps://github.com/apify/crawlee-python/tree/master
Mantisus:fix-relative-basehttps://github.com/Mantisus/crawlee-python/tree/fix-relative-base
Conversationhttps://github.com/apify/crawlee-python/pull/2263
Commits3 (3)https://github.com/apify/crawlee-python/pull/2263/commits
Checkshttps://github.com/apify/crawlee-python/pull/2263/checks
Files changedhttps://github.com/apify/crawlee-python/pull/2263/files
fix(crawlers): Resolve relative and invalid base URLs when extracting linkshttps://github.com/apify/crawlee-python/pull/2263#top
vdusekhttps://github.com/vdusek
apify:masterhttps://github.com/apify/crawlee-python/tree/master
Mantisus:fix-relative-basehttps://github.com/Mantisus/crawlee-python/tree/fix-relative-base
https://github.com/Mantisus
Mantisushttps://github.com/Mantisus
Sep 30, 2026https://github.com/apify/crawlee-python/pull/2263#issue-5649303579
Please reload this pagehttps://github.com/apify/crawlee-python/pull/2263
https://github.com/Mantisus
Mantisushttps://github.com/Mantisus
Sep 30, 2026https://github.com/apify/crawlee-python/pull/2263#event-32180526110
https://github.com/Mantisus
Mantisushttps://github.com/Mantisus
Pijukatelhttps://github.com/Pijukatel
vdusekhttps://github.com/vdusek
September 30, 2026 15:57https://github.com/apify/crawlee-python/pull/2263#event-32180549093
https://github.com/Mantisus
resolve relative and invalid base URLs when extracting linkshttps://github.com/apify/crawlee-python/pull/2263/commits/d61677d4cf16e150f1d3d643df53ed3d445d21a4
d61677dhttps://github.com/apify/crawlee-python/pull/2263/commits/d61677d4cf16e150f1d3d643df53ed3d445d21a4
https://github.com/Mantisus
Mantisushttps://github.com/Mantisus
force-pushedhttps://github.com/apify/crawlee-python/compare/b3ddddff7658707efe8d99f528b9dd4f0c8c578b..d61677d4cf16e150f1d3d643df53ed3d445d21a4
b3ddddfhttps://github.com/apify/crawlee-python/commit/b3ddddff7658707efe8d99f528b9dd4f0c8c578b
d61677dhttps://github.com/apify/crawlee-python/commit/d61677d4cf16e150f1d3d643df53ed3d445d21a4
Compare https://github.com/apify/crawlee-python/compare/b3ddddff7658707efe8d99f528b9dd4f0c8c578b..d61677d4cf16e150f1d3d643df53ed3d445d21a4
September 30, 2026 16:27https://github.com/apify/crawlee-python/pull/2263#event-32182674772
https://github.com/Pijukatel
Pijukatelhttps://github.com/Pijukatel
Oct 1, 2026 https://github.com/apify/crawlee-python/pull/2263#pullrequestreview-5376299016
View reviewed changes https://github.com/apify/crawlee-python/pull/2263/files/d61677d4cf16e150f1d3d643df53ed3d445d21a4
vdusekhttps://github.com/vdusek
October 1, 2026 10:39https://github.com/apify/crawlee-python/pull/2263#commits-pushed-eb49680
https://github.com/vdusek
fix(crawlers): Ignore a base URL that does not resolve to an absolute…https://github.com/apify/crawlee-python/pull/2263/commits/eb49680c717d78bcb04903a75d545f554a4b9503
eb49680https://github.com/apify/crawlee-python/pull/2263/commits/eb49680c717d78bcb04903a75d545f554a4b9503
https://github.com/vdusek
refactor(crawlers): Drop redundant base URL check in Playwright crawlerhttps://github.com/apify/crawlee-python/pull/2263/commits/014234742149c0868791c5d76949ef42d77f9090
0142347https://github.com/apify/crawlee-python/pull/2263/commits/014234742149c0868791c5d76949ef42d77f9090
https://github.com/vdusek
vdusekhttps://github.com/vdusek
c69f75fhttps://github.com/apify/crawlee-python/commit/c69f75f00697e407b3f4006ebeb4ed847dab0675
Oct 1, 2026https://github.com/apify/crawlee-python/pull/2263#event-32236288831
Please reload this pagehttps://github.com/apify/crawlee-python/pull/2263
https://github.com/vdusek
vdusekhttps://github.com/vdusek
Oct 1, 2026 https://github.com/apify/crawlee-python/pull/2263#pullrequestreview-5377063890
View reviewed changes https://github.com/apify/crawlee-python/pull/2263/files/014234742149c0868791c5d76949ef42d77f9090
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%2F2263
https://github.com/vdusek
vdusek https://github.com/vdusek
https://github.com/apify/crawlee-python/pull/2263/files/014234742149c0868791c5d76949ef42d77f9090
https://github.com/Pijukatel
Pijukatel https://github.com/Pijukatel
https://github.com/apify/crawlee-python/pull/2263/files/d61677d4cf16e150f1d3d643df53ed3d445d21a4
Please reload this pagehttps://github.com/apify/crawlee-python/pull/2263
https://github.com/Mantisus
Mantisus https://github.com/Mantisus
Please reload this pagehttps://github.com/apify/crawlee-python/pull/2263
https://github.com/Mantisus
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.