|
|
@ -1107,7 +1107,12 @@ def new_add_scrape_match(item): |
|
|
|
|
|
|
|
|
|
|
|
database.session.merge(item) |
|
|
|
database.session.merge(item) |
|
|
|
database.session.delete(item) |
|
|
|
database.session.delete(item) |
|
|
|
database.session.commit() |
|
|
|
try: |
|
|
|
|
|
|
|
database.session.commit() |
|
|
|
|
|
|
|
except: |
|
|
|
|
|
|
|
logger.warning(f'Volume {item.scrape_candidate} in database') |
|
|
|
|
|
|
|
database.session.rollback() |
|
|
|
|
|
|
|
return |
|
|
|
|
|
|
|
|
|
|
|
add_volume_to_library(item.scrape_candidate) |
|
|
|
add_volume_to_library(item.scrape_candidate) |
|
|
|
scrape_volume_issues(item.scrape_candidate) |
|
|
|
scrape_volume_issues(item.scrape_candidate) |
|
|
|