How to ignore certain query parameters? #617
realityking
started this conversation in
General
Replies: 1 comment
-
|
Hi @realityking 👋 beforeRequest should allow to change url and remove query params. Do you have some examples (html code of the website and your plugin) which reproduce the issue? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
A site I'm scraping has some links that (apparently accidentally) include query parameters like
ute_sourceandutm_medium. I've been trying to find a way to ignore them in way that just the main resource gets downloaded and links get updated correspondingly. I've tried writing a plugin that hooks intobeforeRequestorgetReferencebut neither appears to let me rewrite the URL in such a way.Is there another way that I've overlooked?
Beta Was this translation helpful? Give feedback.
All reactions