-
Notifications
You must be signed in to change notification settings - Fork 28
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
# Issue #4
Comments
change the regex on lines 64 and 70 to "(?:(?:https?|ftp)://)?[\w/-?=%.#&+]+.[\w/-?=%.#&+]+" |
Better, but now it cuts links on "-" "(?:(?:https?|ftp)://)?[\w/-?=%.#&+-]+.[\w/-?=%.#&+-]+" would fix this I think |
that worked, thank you. |
You should be able to replace keywords = list(map(str,input("Enter keywords seperated by space: ").split())) with keywords = ['keyword1','keyword2','keyword 3 4 5'] |
thanks again. |
You can just remove this line: blacklist = list(map(str,input("Enter blacklisted keywords seperated by space: ").split())) And then replace if any(x in url.lower() for x in keywords) and all(x not in url.lower() for x in blacklist): with if any(x in url.lower() for x in keywords): |
getting this error
|
the following also needed removing
|
this does not open the following link correctly: above links opens as |
if a link has "#" in it, that links doesnt work correctly.
The text was updated successfully, but these errors were encountered: