Skip to content

Commit

Permalink
Fixes #36
Browse files Browse the repository at this point in the history
  • Loading branch information
noqqe committed Feb 24, 2017
1 parent 4d42557 commit eaac4ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rezeptionistin.py
Expand Up @@ -110,7 +110,7 @@ def debug(self, msg):
logging.debug(msg)

def geturlsfrommsg(self, message):
url = re.findall("(?P<url>https?://[^\s]+)", message)
url = re.findall("(?P<url>http[s]?://(?:[a-zA-Z]|[0-9]|[$-_@.&+]|[!*\(\),]|(?:%[0-9a-fA-F][0-9a-fA-F]))+)", message)
return url

def getpage(self, url):
Expand Down

0 comments on commit eaac4ac

Please sign in to comment.