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):
|
class Extractor(ABC):
|
||||||
|
url_referer=None
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.header = {}
|
self.header = {}
|
||||||
self.events = []
|
self.events = []
|
||||||
|
@ -47,7 +47,6 @@ class GGCalendar:
|
|||||||
# - then for each document downloaded from these urls, build the events
|
# - then for each document downloaded from these urls, build the events
|
||||||
# This class is an abstract class
|
# This class is an abstract class
|
||||||
class TwoStepsExtractor(Extractor):
|
class TwoStepsExtractor(Extractor):
|
||||||
url_referer=None
|
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__()
|
super().__init__()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user