Skip to content

Commit ade7c18

Browse files
committed
feat: implement structured extraction checkpoints B1 and B2
Signed-off-by: Abhijeet Saharan <abhijeetsaharan2236@gmail.com>
1 parent b637225 commit ade7c18

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

application/utils/external_project_parsers/parsers/cheatsheet_extractor.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
import os
22
import re
3-
43
from application.defs.cheatsheet_defs import CheatsheetRecord
54

65
PARSER_VERSION = "v1"
76
FALLBACK_USED = "false"
8-
97
CANONICAL_BASE_URL = "https://cheatsheetseries.owasp.org/cheatsheets/"
108

119
_TITLE_RE = re.compile(r"^#\s+(?P<title>.+)$", re.MULTILINE)
@@ -53,7 +51,6 @@ def _extract_summary(markdown: str) -> str:
5351

5452
if body:
5553
return body
56-
5754
break
5855

5956
for match in all_heading_matches:

0 commit comments

Comments
 (0)