From f904ef414fc3bb72dd46ee1516bdcc2f7ebcf6ea Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Mon, 21 May 2012 19:03:47 +0200 Subject: [PATCH] Fixed regex --- 4c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/4c b/4c index 98e7f93..71ff86a 100755 --- a/4c +++ b/4c @@ -17,7 +17,7 @@ parser.add_argument('-f', '--force', dest='force_redownload', action='store_true args = parser.parse_args() options = vars(args) -regex = 'href="(\/\/images\.4chan\.org\/b\/src\/[0-9]+\.[a-z]+)"' +regex = 'href="(\/\/images\.4chan\.org\/[a-z]+\/src\/[0-9]+\.[a-z]+)"' for url in options['urllist']: print "Thread URL: %s" % url