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
Domain: patch-diff.githubusercontent.com
{"@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\r\n_RoachPHP\\Downloader\\Middleware\\ExecuteJavascriptMiddleware_\r\n\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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:adc3f608-e803-3425-be07-e56ec20e7540 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A29E:120B97:212D2B0:2A58D3E:699198B5 |
| html-safe-nonce | 6a4cda4d065a372248c4cf07ba70f59c4eaca97b97745e70574ec0fa1f0e2f6c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMjlFOjEyMEI5NzoyMTJEMkIwOjJBNThEM0U6Njk5MTk4QjUiLCJ2aXNpdG9yX2lkIjoiNTY1MzU2NDUzNDA5NjUwMDkxNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7e3ae3944f9252a6368eada03c607fae6c4c49097d827755e76f2b2bf00fb6be |
| hovercard-subject-tag | issue:2232938048 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/roach-php/core/239/issue_layout |
| twitter:image | https://opengraph.githubassets.com/059fad71f2475f386af7cc960b9729c7979a5b1535a0d03d8178c14f85830cb7/roach-php/core/issues/239 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/059fad71f2475f386af7cc960b9729c7979a5b1535a0d03d8178c14f85830cb7/roach-php/core/issues/239 |
| og:image:alt | 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... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Fadarrizz |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/roach-php/core git https://github.com/roach-php/core.git |
| octolytics-dimension-user_id | 88873474 |
| octolytics-dimension-user_login | roach-php |
| octolytics-dimension-repository_id | 397134075 |
| octolytics-dimension-repository_nwo | roach-php/core |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 397134075 |
| octolytics-dimension-repository_network_root_nwo | roach-php/core |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width