URLs may have a trailing '>' now
This commit is contained in:
@@ -83,7 +83,7 @@ def ratelimit_exceeded():
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
def extract_url(data):
|
def extract_url(data):
|
||||||
result = re.findall("(https?://[^\s]+)", data)
|
result = re.findall("(https?://[^\s>]+)", data)
|
||||||
if result:
|
if result:
|
||||||
for r in result:
|
for r in result:
|
||||||
if ratelimit_exceeded():
|
if ratelimit_exceeded():
|
||||||
|
|||||||
Reference in New Issue
Block a user