ops
This commit is contained in:
@@ -55,10 +55,8 @@ def find_and_set_infoLabels(item):
|
|||||||
logger.error(traceback.format_exc())
|
logger.error(traceback.format_exc())
|
||||||
|
|
||||||
while scraper or not item.exit:
|
while scraper or not item.exit:
|
||||||
from core.support import dbg;dbg()
|
|
||||||
# We call the find_and_set_infoLabels function of the selected scraper
|
# We call the find_and_set_infoLabels function of the selected scraper
|
||||||
scraper_result = scraper.find_and_set_infoLabels(item)
|
scraper_result = scraper.find_and_set_infoLabels(item)
|
||||||
# from core.support import dbg; dbg()
|
|
||||||
# Check if there is a 'code'
|
# Check if there is a 'code'
|
||||||
if scraper_result and item.infoLabels['code']:
|
if scraper_result and item.infoLabels['code']:
|
||||||
# correct code
|
# correct code
|
||||||
|
|||||||
Reference in New Issue
Block a user