2019-05-24 6:12
So why does the cwbot skip so many requests?
Had multiple requests skipped over the past 4 hours.
Had multiple requests skipped over the past 4 hours.
def get_cw_links(text):
link_pattern = r"camwhores(?:tv)?\.(?:videos|adult|video|io|cc|sc|biz|tv|org)/videos/\d+/[\w\-_\.]{4,}"
mlist = re.findall(link_pattern, text)
uniq_vids = uniq_list([x.split("/videos/")[-1] for x in mlist if x and ".." not in x])
links = [f'"http://www.camwhores.tv/videos/{v}"' for v in uniq_vids]
return links