discord-link-opener icon indicating copy to clipboard operation
discord-link-opener copied to clipboard

discord-link-opener

Open markbook00 opened this issue 4 years ago • 5 comments

hello, once you have entered keywords and blacklisted keywords, I click enter. however when the link arrives on discord it does not open it.

markbook00 avatar Apr 21 '20 12:04 markbook00

I have the same problem

Mariic33 avatar Mar 13 '21 15:03 Mariic33

Me too

WinterDuckyy avatar Mar 13 '21 15:03 WinterDuckyy

Same

cr8tor456 avatar Mar 20 '21 20:03 cr8tor456

I'm on Firefox and using this approach that works for me:

webbrowser.register('firefox', None, webbrowser.GenericBrowser('C:\\Program Files\\Mozilla Firefox\\firefox.exe')) webbrowser.get('firefox').open(url)

You could adapt it to your Chrome location and give it a shot.

I'm also using this from #4 to prevent bad links (and only use keywords that appear in URLs ofc).

"(?:(?:https?|ftp)://)?[\w/-?=%.#&+-]+.[\w/-?=%.#&+-]+" would fix this I think Originally posted by @pedrorq in https://github.com/clearyy/discord-link-opener/issues/4#issuecomment-789123543

Hope I could help out!

orthand avatar Mar 22 '21 17:03 orthand

try modifying the directory path in open.py at line 37 to match you chrome path.

works for me

catjammer avatar Nov 01 '21 05:11 catjammer