On déplace l'url_referer pour qu'il existe aussi pour les classes à une seule passe
This commit is contained in:
parent
becce291af
commit
3c1368153c
@ -10,6 +10,8 @@ def remove_accents(input_str):
|
||||
|
||||
|
||||
class Extractor(ABC):
|
||||
url_referer=None
|
||||
|
||||
def __init__(self):
|
||||
self.header = {}
|
||||
self.events = []
|
||||
|
@ -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__()
|
||||
|
Loading…
Reference in New Issue
Block a user