discord-link-opener
discord-link-opener copied to clipboard
Prepends non-link text to link
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)
Updated regex and tested on your message and it appears to work. Test out the new open.py
The new build just closes instantly for me. Old one still runs