[GH-ISSUE #1873] Ability to ignore specific URL parameters #1164

Open
opened 2026-03-02 11:55:27 +03:00 by kerem · 2 comments
Owner

Originally created by @Sacmanxman2 on GitHub (Aug 25, 2025).
Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/1873

Describe the feature you'd like

Set specific URL parameters to be ignored when comparing a link for uniqueness. For example, setting it to ignore "list" and "index" parameters on all "youtube.com" links would allow for these to all be recognized as the same video:
youtube.com/watch?v=abcd123&list=WL&index=55
youtube.com/watch?v=abcd123&list=Test&index=2
youtube.com/watch?v=abcd123

Describe the benefits this would bring to existing Karakeep users

For me this would be very useful for saving videos from a youtube playlist, where sometimes the index or playlist name might change. I'm sure there are other cases for sites like news or shopping sites (where a redirect URL or affiliate code might be part of the address).

Can the goal of this request already be achieved via other means?

You can manually re-write the URL before saving, but that's VERY tedious.

Have you searched for an existing open/closed issue?

  • I have searched for existing issues and none cover my fundamental request

Additional context

No response

Originally created by @Sacmanxman2 on GitHub (Aug 25, 2025). Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/1873 ### Describe the feature you'd like Set specific URL parameters to be ignored when comparing a link for uniqueness. For example, setting it to ignore "list" and "index" parameters on all "youtube.com" links would allow for these to all be recognized as the same video: youtube.com/watch?v=abcd123&list=WL&index=55 youtube.com/watch?v=abcd123&list=Test&index=2 youtube.com/watch?v=abcd123 ### Describe the benefits this would bring to existing Karakeep users For me this would be very useful for saving videos from a youtube playlist, where sometimes the index or playlist name might change. I'm sure there are other cases for sites like news or shopping sites (where a redirect URL or affiliate code might be part of the address). ### Can the goal of this request already be achieved via other means? You can manually re-write the URL before saving, but that's VERY tedious. ### Have you searched for an existing open/closed issue? - [x] I have searched for existing issues and none cover my fundamental request ### Additional context _No response_
Author
Owner

@MohamedBassem commented on GitHub (Aug 30, 2025):

I understand the problem but it's not clear to me how this can be configured in a user friendly way :)

<!-- gh-comment-id:3239506232 --> @MohamedBassem commented on GitHub (Aug 30, 2025): I understand the problem but it's not clear to me how this can be configured in a user friendly way :)
Author
Owner

@Sacmanxman2 commented on GitHub (Sep 2, 2025):

Perhaps an interface where one could list out URL parameters to ignore for certain domains? Maybe a table that looks like this:

Domain URL parameters to ignore
youtube.com list, index

Then when adding a link, we'd just need to add something that says "check if the link has domain name in list, if so, use regex (or something similar) to recognize & remove those URL parameters before continuing on". This would be before any validation logic for duplicate URLs, so that would take care of the rest!

A button that would go through and "apply" those rules to existing links too would be helpful (although then you'd have to figure out how to deal with conflicts so that's a whole other thing).

I suppose for now I could write something to do with using Karakeep's API, but it'd be super nice to have it integrated in the app. I'd be happy to help write it!

<!-- gh-comment-id:3243808943 --> @Sacmanxman2 commented on GitHub (Sep 2, 2025): Perhaps an interface where one could list out URL parameters to ignore for certain domains? Maybe a table that looks like this: | Domain | URL parameters to ignore | | ----- | ----- | | youtube.com | list, index | Then when adding a link, we'd just need to add something that says "check if the link has domain name in list, if so, use regex (or something similar) to recognize & remove those URL parameters before continuing on". This would be before any validation logic for duplicate URLs, so that would take care of the rest! A button that would go through and "apply" those rules to existing links too would be helpful (although then you'd have to figure out how to deal with conflicts so that's a whole other thing). I suppose for now I could write something to do with using Karakeep's API, but it'd be super nice to have it integrated in the app. I'd be happy to help write it!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/karakeep#1164
No description provided.