diff --git a/client/pages/audiobook/_id/chapters.vue b/client/pages/audiobook/_id/chapters.vue index e91a8846..33a6b39a 100644 --- a/client/pages/audiobook/_id/chapters.vue +++ b/client/pages/audiobook/_id/chapters.vue @@ -347,7 +347,7 @@ export default { asinError: null, removeBranding: false, showSecondInputs: false, - audibleRegions: ['US', 'CA', 'UK', 'AU', 'FR', 'DE', 'JP', 'IT', 'IN', 'ES'], + audibleRegions: ['US', 'CA', 'UK', 'AU', 'FR', 'DE', 'JP', 'IT', 'IN', 'ES', 'BR'], hasChanges: false, timeIncrementAmount: 1, elapsedTime: 0, diff --git a/server/controllers/SearchController.js b/server/controllers/SearchController.js index ecd9a41c..8012584f 100644 --- a/server/controllers/SearchController.js +++ b/server/controllers/SearchController.js @@ -25,6 +25,7 @@ const providerMap = { 'audible.it': 'Audible.it', 'audible.in': 'Audible.in', 'audible.es': 'Audible.es', + 'audible.br': 'Audible.com.br', audnexus: 'Audnexus' } diff --git a/server/finders/BookFinder.js b/server/finders/BookFinder.js index 90fed951..d5a42d4a 100644 --- a/server/finders/BookFinder.js +++ b/server/finders/BookFinder.js @@ -23,7 +23,7 @@ class BookFinder { this.audiobookCovers = new AudiobookCovers() this.customProviderAdapter = new CustomProviderAdapter() - this.providers = ['google', 'itunes', 'openlibrary', 'fantlab', 'audiobookcovers', 'audible', 'audible.ca', 'audible.uk', 'audible.au', 'audible.fr', 'audible.de', 'audible.jp', 'audible.it', 'audible.in', 'audible.es'] + this.providers = ['google', 'itunes', 'openlibrary', 'fantlab', 'audiobookcovers', 'audible', 'audible.ca', 'audible.uk', 'audible.au', 'audible.fr', 'audible.de', 'audible.jp', 'audible.it', 'audible.in', 'audible.es', 'audible.br'] this.verbose = false } diff --git a/server/providers/Audible.js b/server/providers/Audible.js index 133d3c0d..10b26db1 100644 --- a/server/providers/Audible.js +++ b/server/providers/Audible.js @@ -16,7 +16,8 @@ class Audible { jp: '.co.jp', it: '.it', in: '.in', - es: '.es' + es: '.es', + br: '.com.br' } }