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

Prepends non-link text to link #5

Open
DJN0 opened this issue Mar 23, 2021 · 2 comments
Open

Prepends non-link text to link #5

DJN0 opened this issue Mar 23, 2021 · 2 comments

Comments

@DJN0
Copy link

DJN0 commented Mar 23, 2021

This was the link the program tried to open, as you can see it prepended "thing%20" to the link: http://thing%20https//www.gamestop.com/video-games/pc-gaming/components/graphics-cards/products/geforce-rtx-3080-ftw3-ultra-gaming-graphics-card/11121601.html

And this was the discord message containing the link:

potentially gonna be a thing https://www.gamestop.com/video-games/pc-gaming/components/graphics-cards/products/geforce-rtx-3080-ftw3-ultra-gaming-graphics-card/11121601.html

I did modify open.py per this post:

"(?:(?:https?|ftp)://)?[\w/-?=%.#&+-]+.[\w/-?=%.#&+-]+" would fix this I think
Originally posted by @pedrorq in #4 (comment)

@clearyy
Copy link
Owner

clearyy commented Mar 25, 2021

Updated regex and tested on your message and it appears to work. Test out the new open.py

@DJN0
Copy link
Author

DJN0 commented Mar 25, 2021

The new build just closes instantly for me. Old one still runs

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

No branches or pull requests

2 participants