Libation 4.0 prep. EzApiCreator: remove locale option, add JsonPath support, libation wrapper to pass in jsonpath

This commit is contained in:
Robert McRackan 2020-08-10 10:31:41 -04:00
parent 2e4a97fde7
commit efa5cefa23
5 changed files with 28 additions and 17 deletions

View file

@ -5,6 +5,7 @@ using DataLayer;
using Dinah.Core;
using Dinah.Core.ErrorHandling;
using FileManager;
using InternalUtilities;
namespace FileLiberator
{
@ -41,7 +42,7 @@ namespace FileLiberator
private async Task<string> downloadBookAsync(LibraryBook libraryBook, string tempAaxFilename)
{
var api = await AudibleApi.EzApiCreator.GetApiAsync(AudibleApiStorage.AccountsSettingsFile, null, Configuration.Instance.LocaleCountryCode);
var api = await AudibleApiActions.GetApiAsync();
var actualFilePath = await PerformDownloadAsync(
tempAaxFilename,