On affiche une info
This commit is contained in:
parent
a4f1af4d63
commit
de4d00064f
@ -71,7 +71,6 @@ class ChromiumHeadlessDownloader(Downloader):
|
|||||||
self.support_2nd_extract = True
|
self.support_2nd_extract = True
|
||||||
|
|
||||||
self.pause = pause
|
self.pause = pause
|
||||||
self.proxy = proxy
|
|
||||||
self.options = Options()
|
self.options = Options()
|
||||||
self.options.add_argument("--headless=new")
|
self.options.add_argument("--headless=new")
|
||||||
self.options.add_argument("--disable-dev-shm-usage")
|
self.options.add_argument("--disable-dev-shm-usage")
|
||||||
|
@ -258,6 +258,7 @@ class TwoStepsExtractor(Extractor):
|
|||||||
content_event, event_url, url_human, default_values, published
|
content_event, event_url, url_human, default_values, published
|
||||||
)
|
)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
logger.info('Using cookie trick on a facebook event')
|
||||||
# some website (FB) sometime need a second step
|
# some website (FB) sometime need a second step
|
||||||
if first and len(self.events) == 0 and self.has_2nd_method_in_list and self.downloader.support_2nd_extract:
|
if first and len(self.events) == 0 and self.has_2nd_method_in_list and self.downloader.support_2nd_extract:
|
||||||
first = False
|
first = False
|
||||||
|
Loading…
x
Reference in New Issue
Block a user