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

discord-link-opener #1

Open
markbook00 opened this issue Apr 21, 2020 · 5 comments
Open

discord-link-opener #1

markbook00 opened this issue Apr 21, 2020 · 5 comments

Comments

@markbook00
Copy link

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

@Mariic33
Copy link

I have the same problem

@WinterDuckyy
Copy link

Me too

@cr8tor456
Copy link

Same

@orthand
Copy link

orthand commented Mar 22, 2021

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 #4 (comment)

Hope I could help out!

@catjammer
Copy link

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

works for me

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

6 participants