[WIP] New source: AcoLab #165

Draft
siriusnottin wants to merge 8 commits from feat-parser-acolab into main
Showing only changes of commit 2653d088c4 - Show all commits

View File

@ -32,10 +32,15 @@ class CExtractor(Extractor):
def find_date(text):
splited_text = text.split(' ')
if len(splited_text) < 3:
return None
month = Extractor.guess_month(splited_text[1])
year = splited_text[2]
if month is None:
return None
year = splited_text[2]
if not year.isnumeric():
return None
year = int(year)