Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to remove links with 3 dashes even with parameters #12

Open
Sh4d0wHunt3rX opened this issue Jul 2, 2024 · 3 comments
Open

Ability to remove links with 3 dashes even with parameters #12

Sh4d0wHunt3rX opened this issue Jul 2, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@Sh4d0wHunt3rX
Copy link

Hey : ) That would be great if we can remove the links with 3 dashes even if they have parameters.

Thanks

@xnl-h4ck3r xnl-h4ck3r added the enhancement New feature or request label Jul 3, 2024
@xnl-h4ck3r
Copy link
Owner

Hi @Sh4d0wHunt3rX. Apologies for the huge delay! I am looking at this now.
It currently defaults to "human written" content as having MORE than 3 - in part of the path. I think that's what you meant anyway, based on your examples on Discord a while back that showed more than 3 anyway.
I think I will add a setting to the config.yml file to allow a user to change that default value anyway.

Also, I will add a new argument called --disregard-params, so all the logic mentioned in the README under If the URL has NO parameters: will be changed to If the URL has NO parameters OR the --disregard-params argument was passed:

Does that sound ok?
Thanks
Xnl

@xnl-h4ck3r
Copy link
Owner

Hi @Sh4d0wHunt3rX .
The latest v2.2 now has -dp/--dsiregard-params argument that you can use for this. The "human written" content is still defined as having 4 or more dashes (because 3 could mean a GUID and there is different functionality for that). I didn't add a new key to config.yml to change this after all (for now anyway).
Use pip install --upgrade urless to update it.
Let me know if you have any problems.
Thanks
Xnl

@Sh4d0wHunt3rX
Copy link
Author

Hey @xnl-h4ck3r , I was away from bug bounty for a while, thanks for adding this, I will test : ) 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants