@@ -29,7 +29,7 @@ class CExtractor(TwoStepsExtractorNoPause):
|
||||
|
||||
title = soup.select_one(".showDesc h4 a.summary").text
|
||||
start_day = soup.select_one(".showDate .value-title")
|
||||
start_time = "warning"
|
||||
start_time = -1
|
||||
|
||||
if start_day is not None:
|
||||
start_day = start_day["title"]
|
||||
|
@@ -230,7 +230,7 @@ class Extractor(ABC):
|
||||
published = False
|
||||
start_day = datetime.now().date().strftime("%Y-%m-%d")
|
||||
warnings.append(Extractor.Warning.NO_START_DATE)
|
||||
if isinstance(start_time, str):
|
||||
if isinstance(start_time, int):
|
||||
print("WARNING: start time was not found")
|
||||
published = False
|
||||
start_time = None
|
||||
|
Reference in New Issue
Block a user