~wrycode/plr

8ce92cfc64ac175537f58aec894d5255570ede12 — Zack Scholl 4 years ago 9af900e
Don't need settings anymore
1 files changed, 0 insertions(+), 3 deletions(-)

M lib.py
M lib.py => lib.py +0 -3
@@ 6,9 6,6 @@ from multiprocessing import Pool, cpu_count

import requests

from settings import *



def isurl(s):
    if re.match(r'(?i)\b((?:[a-z][\w-]+:(?:/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}/)(?:[^\s()<>]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:\'".,<>?«»“”‘’]))', s):