discord-link-opener
discord-link-opener copied to clipboard
discord-link-opener
hello, once you have entered keywords and blacklisted keywords, I click enter. however when the link arrives on discord it does not open it.
I have the same problem
Me too
Same
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!
try modifying the directory path in open.py at line 37 to match you chrome path.
works for me