On affiche une info
This commit is contained in:
		@@ -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")
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user