Skip to content

Commit

Permalink
category fnac bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
goulven authored and goulven committed Sep 6, 2024
1 parent d783edf commit 178a33f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ private void closeIterator(MappingIterator<Map<String, String>> mi, Logger logge
}

private void deleteTemporaryFile(String url, File destFile, Logger logger) {
// We delete only downloaded files, to preserve the local files (used for debug)
if (url.startsWith("http") && destFile != null && destFile.exists()) {
try {
Files.delete(destFile.toPath());
Expand Down
3 changes: 2 additions & 1 deletion verticals/src/main/resources/verticals/tv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ icecatTaxonomyId: 1584
# Will associate to this vertical if one of the following categorie is present for the product
matchingCategories:
- "HIFI>TELEVISION"
- "APPAREILS ELECTRONIQUES > VIDEO > TELEVISEURS"
#Buggy with fnac
#- "APPAREILS ELECTRONIQUES > VIDEO > TELEVISEURS"
- "TV, VIDEO, HOME CINEMA>TELEVISEUR>TV LED"
- "TV - VIDEO - SON > TELEVISEUR > TELEVISEUR LED"
- "TV & VIDEO & HOME CINEMA > TELEVISEUR > TV LED/LCD"
Expand Down

0 comments on commit 178a33f

Please sign in to comment.