collision de nom de variable
This commit is contained in:
parent
c7766b022c
commit
09773bee71
@ -52,11 +52,11 @@ class URL2Events:
|
|||||||
if events is not None:
|
if events is not None:
|
||||||
if len(events) > 0:
|
if len(events) > 0:
|
||||||
return events
|
return events
|
||||||
except Exception as e:
|
except Exception as ex:
|
||||||
if first and FacebookEventExtractor.is_known_url(url) and self.downloader.support_2nd_extract and e.has_2nd_method:
|
if first and FacebookEventExtractor.is_known_url(url) and self.downloader.support_2nd_extract and e.has_2nd_method:
|
||||||
logger.info('Using cookie trick on a facebook event')
|
logger.info('Using cookie trick on a facebook event')
|
||||||
e.prepare_2nd_extract()
|
e.prepare_2nd_extract()
|
||||||
return self.process(url, url_human, cache, default_values, published, False)
|
return self.process(url, url_human, cache, default_values, published, False)
|
||||||
else:
|
else:
|
||||||
raise e
|
raise ex
|
||||||
return None
|
return None
|
||||||
|
Loading…
x
Reference in New Issue
Block a user