From feed2274c3cb9892577899cdd936326c385b72c9 Mon Sep 17 00:00:00 2001 From: stamparm Date: Wed, 17 Apr 2013 10:48:17 +0200 Subject: [PATCH] Patch for an Issue #435 --- lib/core/option.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/option.py b/lib/core/option.py index c3911be7d..e16728965 100644 --- a/lib/core/option.py +++ b/lib/core/option.py @@ -245,7 +245,7 @@ def _feedTargetsDict(reqFile, addedTargetUrls): if not re.search(r"^[\n]*(%s).*?\sHTTP\/" % "|".join(getPublicTypeMembers(HTTPMETHOD, True)), request, re.I | re.M): continue - if re.search(r"^[\n]*(%s|%s).*?\.(%s)\sHTTP\/" % (HTTPMETHOD.GET, HTTPMETHOD.POST, "|".join(CRAWL_EXCLUDE_EXTENSIONS)), request, re.I | re.M): + if re.search(r"^[\n]*%s.*?\.(%s)\sHTTP\/" % (HTTPMETHOD.GET, "|".join(CRAWL_EXCLUDE_EXTENSIONS)), request, re.I | re.M): continue getPostReq = False