René's URL Explorer Experiment


Title: Requests with ExecuteJavascriptMiddleware are sent twice · Issue #239 · roach-php/core · GitHub

Open Graph Title: Requests with ExecuteJavascriptMiddleware are sent twice · Issue #239 · roach-php/core

X Title: Requests with ExecuteJavascriptMiddleware are sent twice · Issue #239 · roach-php/core

Description: Describe the bug When using the ExecuteJavascriptMiddleware, two requests are sent. One by Browsershot, the other by Guzzle. Reproduction My spider only has the ExecuteJavascriptMiddleware registered as downloader middleware. I placed du...

Open Graph Description: Describe the bug When using the ExecuteJavascriptMiddleware, two requests are sent. One by Browsershot, the other by Guzzle. Reproduction My spider only has the ExecuteJavascriptMiddleware register...

X Description: Describe the bug When using the ExecuteJavascriptMiddleware, two requests are sent. One by Browsershot, the other by Guzzle. Reproduction My spider only has the ExecuteJavascriptMiddleware register...

Opengraph URL: https://github.com/roach-php/core/issues/239

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Requests with ExecuteJavascriptMiddleware are sent twice","articleBody":"**Describe the bug**\r\nWhen using the `ExecuteJavascriptMiddleware`, two requests are sent. One by Browsershot, the other by Guzzle.\r\n\r\n**Reproduction**\r\nMy spider only has the `ExecuteJavascriptMiddleware` registered as downloader middleware.\r\n\r\nI placed dumps with the request object id in the following places, just before requests are sent:\r\n\r\n_RoachPHP\\Http\\Client_\r\n![image](https://github.com/roach-php/core/assets/22003779/4f142a09-52ad-478e-b1e7-8629b2247f04)\r\n_RoachPHP\\Downloader\\Middleware\\ExecuteJavascriptMiddleware_\r\n![image](https://github.com/roach-php/core/assets/22003779/95d0a1c3-c814-4f5f-b553-aea415aa3c73)\r\n\r\nWhen the spider runs, both dumps are shown:\r\n\u003cimg width=\"791\" alt=\"image\" src=\"https://github.com/roach-php/core/assets/22003779/66ceacca-3552-4a53-9a41-7773a20c9047\"\u003e\r\n\r\n**Expected behavior**\r\nI was expecting only one request being sent: one from Browsershot, not also one from Guzzle.\r\n\r\n**Package versions (please complete the following information):**\r\n\r\n- core: v3.0.1\r\n\r\n\r\n","author":{"url":"https://github.com/Fadarrizz","@type":"Person","name":"Fadarrizz"},"datePublished":"2024-04-09T08:52:43.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/239/core/issues/239"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:adc3f608-e803-3425-be07-e56ec20e7540
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA29E:120B97:212D2B0:2A58D3E:699198B5
html-safe-nonce6a4cda4d065a372248c4cf07ba70f59c4eaca97b97745e70574ec0fa1f0e2f6c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMjlFOjEyMEI5NzoyMTJEMkIwOjJBNThEM0U6Njk5MTk4QjUiLCJ2aXNpdG9yX2lkIjoiNTY1MzU2NDUzNDA5NjUwMDkxNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac7e3ae3944f9252a6368eada03c607fae6c4c49097d827755e76f2b2bf00fb6be
hovercard-subject-tagissue:2232938048
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/roach-php/core/239/issue_layout
twitter:imagehttps://opengraph.githubassets.com/059fad71f2475f386af7cc960b9729c7979a5b1535a0d03d8178c14f85830cb7/roach-php/core/issues/239
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/059fad71f2475f386af7cc960b9729c7979a5b1535a0d03d8178c14f85830cb7/roach-php/core/issues/239
og:image:altDescribe the bug When using the ExecuteJavascriptMiddleware, two requests are sent. One by Browsershot, the other by Guzzle. Reproduction My spider only has the ExecuteJavascriptMiddleware register...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameFadarrizz
hostnamegithub.com
expected-hostnamegithub.com
None42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b
turbo-cache-controlno-preview
go-importgithub.com/roach-php/core git https://github.com/roach-php/core.git
octolytics-dimension-user_id88873474
octolytics-dimension-user_loginroach-php
octolytics-dimension-repository_id397134075
octolytics-dimension-repository_nworoach-php/core
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id397134075
octolytics-dimension-repository_network_root_nworoach-php/core
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
release848bc6032dcc93a9a7301dcc3f379a72ba13b96e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/roach-php/core/issues/239#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Froach-php%2Fcore%2Fissues%2F239
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Froach-php%2Fcore%2Fissues%2F239
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=roach-php%2Fcore
Reloadhttps://patch-diff.githubusercontent.com/roach-php/core/issues/239
Reloadhttps://patch-diff.githubusercontent.com/roach-php/core/issues/239
Reloadhttps://patch-diff.githubusercontent.com/roach-php/core/issues/239
roach-php https://patch-diff.githubusercontent.com/roach-php
corehttps://patch-diff.githubusercontent.com/roach-php/core
Please reload this pagehttps://patch-diff.githubusercontent.com/roach-php/core/issues/239
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Froach-php%2Fcore
Fork 80 https://patch-diff.githubusercontent.com/login?return_to=%2Froach-php%2Fcore
Star 1.5k https://patch-diff.githubusercontent.com/login?return_to=%2Froach-php%2Fcore
Code https://patch-diff.githubusercontent.com/roach-php/core
Issues 19 https://patch-diff.githubusercontent.com/roach-php/core/issues
Pull requests 14 https://patch-diff.githubusercontent.com/roach-php/core/pulls
Discussions https://patch-diff.githubusercontent.com/roach-php/core/discussions
Actions https://patch-diff.githubusercontent.com/roach-php/core/actions
Security 0 https://patch-diff.githubusercontent.com/roach-php/core/security
Insights https://patch-diff.githubusercontent.com/roach-php/core/pulse
Code https://patch-diff.githubusercontent.com/roach-php/core
Issues https://patch-diff.githubusercontent.com/roach-php/core/issues
Pull requests https://patch-diff.githubusercontent.com/roach-php/core/pulls
Discussions https://patch-diff.githubusercontent.com/roach-php/core/discussions
Actions https://patch-diff.githubusercontent.com/roach-php/core/actions
Security https://patch-diff.githubusercontent.com/roach-php/core/security
Insights https://patch-diff.githubusercontent.com/roach-php/core/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/roach-php/core/issues/239
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/roach-php/core/issues/239
#264https://github.com/roach-php/core/pull/264
Requests with ExecuteJavascriptMiddleware are sent twicehttps://patch-diff.githubusercontent.com/roach-php/core/issues/239#top
#264https://github.com/roach-php/core/pull/264
https://patch-diff.githubusercontent.com/ksassnowski
bugSomething isn't workinghttps://github.com/roach-php/core/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/Fadarrizz
https://github.com/Fadarrizz
Fadarrizzhttps://github.com/Fadarrizz
on Apr 9, 2024https://github.com/roach-php/core/issues/239#issue-2232938048
https://private-user-images.githubusercontent.com/22003779/320781563-4f142a09-52ad-478e-b1e7-8629b2247f04.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzExNDk3OTQsIm5iZiI6MTc3MTE0OTQ5NCwicGF0aCI6Ii8yMjAwMzc3OS8zMjA3ODE1NjMtNGYxNDJhMDktNTJhZC00NzhlLWIxZTctODYyOWIyMjQ3ZjA0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMjE1VDA5NTgxNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWUzODE0OTFlODQzZjgzYTNhODQ1NmEwZTQ0MzdjZmZiMDliODliZGFjN2RkYTNlMzkwZDMxYjcyNTA0ZGZmMDcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Txn5RHGviqDKTDhR2raPBmXigPcBEqKDf0kEaHK7gvU
https://private-user-images.githubusercontent.com/22003779/320783357-95d0a1c3-c814-4f5f-b553-aea415aa3c73.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzExNDk3OTQsIm5iZiI6MTc3MTE0OTQ5NCwicGF0aCI6Ii8yMjAwMzc3OS8zMjA3ODMzNTctOTVkMGExYzMtYzgxNC00ZjVmLWI1NTMtYWVhNDE1YWEzYzczLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMjE1VDA5NTgxNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWUyYzk2OGY4ZTU2NTkzNzNiNzQ3Mzk1ZGI1YjVmOWIyNzQ2YTBiMWYzMWI5MTY0YmQ4YWI2ZGY3YjgwN2VhYWUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.d2thahUZHcBwf5uPWBSeU4bGpfontFGidbVQfIExMZo
https://private-user-images.githubusercontent.com/22003779/322463932-66ceacca-3552-4a53-9a41-7773a20c9047.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzExNDk3OTQsIm5iZiI6MTc3MTE0OTQ5NCwicGF0aCI6Ii8yMjAwMzc3OS8zMjI0NjM5MzItNjZjZWFjY2EtMzU1Mi00YTUzLTlhNDEtNzc3M2EyMGM5MDQ3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMjE1VDA5NTgxNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg1Yzc2MDE2NDllMmM3MDdhYzM4Y2RkOWY3MmFkODBhMDlkNzVkN2YyNzIwMGUxZDJhOTY1MTEyMjUxNWE1NTEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.7kfhCkb8NwLjZmMSoo0U04KM-rQ7EozunaOV7LU3lbA
ksassnowskihttps://patch-diff.githubusercontent.com/ksassnowski
bugSomething isn't workinghttps://github.com/roach-php/core/issues?q=state%3Aopen%20label%3A%22bug%22
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.