From fe92d9d5818e6e53df13096c6fc6fbc46143468e Mon Sep 17 00:00:00 2001 From: marco Date: Sun, 14 Jun 2020 22:46:10 +0200 Subject: [PATCH] ops --- core/scrapertools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/scrapertools.py b/core/scrapertools.py index 669eb0eb..0c7ac130 100644 --- a/core/scrapertools.py +++ b/core/scrapertools.py @@ -41,7 +41,7 @@ def printMatches(matches): def find_single_match(data, patron, index=0): try: if index == 0: - matches = re.search(patron, data, flags=re.DOTALL) + matches = re.search(patron, data, flags=re.DOTALL).groups() else: matches = re.findall(patron, data, flags=re.DOTALL) return matches[index]