mirror of
http://aero2k.de/t/repos/urlbot-native.git
synced 2017-09-06 15:25:38 +02:00
URLs may have a trailing '>' now
This commit is contained in:
@@ -83,7 +83,7 @@ def ratelimit_exceeded():
|
||||
return False
|
||||
|
||||
def extract_url(data):
|
||||
result = re.findall("(https?://[^\s]+)", data)
|
||||
result = re.findall("(https?://[^\s>]+)", data)
|
||||
if result:
|
||||
for r in result:
|
||||
if ratelimit_exceeded():
|
||||
|
||||
Reference in New Issue
Block a user