remove a trace
This commit is contained in:
parent
c767067f23
commit
30aafd4979
@ -214,6 +214,7 @@ class TwoStepsExtractor(Extractor):
|
|||||||
only_future=True,
|
only_future=True,
|
||||||
ignore_404=True
|
ignore_404=True
|
||||||
):
|
):
|
||||||
|
|
||||||
self.only_future = only_future
|
self.only_future = only_future
|
||||||
self.now = datetime.datetime.now().date()
|
self.now = datetime.datetime.now().date()
|
||||||
self.set_header(url)
|
self.set_header(url)
|
||||||
@ -241,7 +242,6 @@ class TwoStepsExtractor(Extractor):
|
|||||||
if ignore_404:
|
if ignore_404:
|
||||||
logger.error(msg)
|
logger.error(msg)
|
||||||
else:
|
else:
|
||||||
print("go")
|
|
||||||
raise Exception(msg)
|
raise Exception(msg)
|
||||||
else:
|
else:
|
||||||
# then extract event information from this html document
|
# then extract event information from this html document
|
||||||
|
Loading…
x
Reference in New Issue
Block a user