On affiche une info

This commit is contained in:
Jean-Marie Favreau 2025-02-08 11:49:17 +01:00
parent a4f1af4d63
commit de4d00064f
2 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,6 @@ class ChromiumHeadlessDownloader(Downloader):
self.support_2nd_extract = True
self.pause = pause
self.proxy = proxy
self.options = Options()
self.options.add_argument("--headless=new")
self.options.add_argument("--disable-dev-shm-usage")

View File

@ -258,6 +258,7 @@ class TwoStepsExtractor(Extractor):
content_event, event_url, url_human, default_values, published
)
except Exception as e:
logger.info('Using cookie trick on a facebook event')
# 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:
first = False