On déplace l'url_referer pour qu'il existe aussi pour les classes à une seule passe

This commit is contained in:
Jean-Marie Favreau 2024-06-02 14:03:28 +02:00
parent becce291af
commit 3c1368153c
2 changed files with 2 additions and 1 deletions

View File

@ -10,6 +10,8 @@ def remove_accents(input_str):
class Extractor(ABC):
url_referer=None
def __init__(self):
self.header = {}
self.events = []

View File

@ -47,7 +47,6 @@ class GGCalendar:
# - then for each document downloaded from these urls, build the events
# This class is an abstract class
class TwoStepsExtractor(Extractor):
url_referer=None
def __init__(self):
super().__init__()