From a916820866783986a08c77fa644c57706ddfc0bf Mon Sep 17 00:00:00 2001 From: Obosob Date: Thu, 30 Jul 2015 11:43:13 +0100 Subject: [PATCH] squashed a teensy bug --- rtv/content.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtv/content.py b/rtv/content.py index 65b7c49..27f2efb 100644 --- a/rtv/content.py +++ b/rtv/content.py @@ -106,7 +106,7 @@ class BaseContent(object): displayed through the terminal. """ - reddit_link = re.compile("https?://(np.)?redd(it.com|.it)/r/.*") + reddit_link = re.compile("https?://(www.)?(np.)?redd(it.com|.it)/r/.*") reddit_link_no_host = re.compile("/r/.*") author = getattr(sub, 'author', '[deleted]') name = getattr(author, 'name', '[deleted]')