This version is powered by the Audible API. Legacy scraping code is still present but is commented out. All future check-ins are not guaranteed to have any scraping code

This commit is contained in:
Robert McRackan 2019-11-05 08:19:58 -05:00
parent 664fcc50e2
commit c61bc27a7b
9 changed files with 10 additions and 12 deletions

View File

@ -29,6 +29,7 @@ namespace DtoImporterService
var libraryBook = new LibraryBook( var libraryBook = new LibraryBook(
context.Books.Local.Single(b => b.AudibleProductId == newItem.ProductId), context.Books.Local.Single(b => b.AudibleProductId == newItem.ProductId),
newItem.DateAdded newItem.DateAdded
// needed for scraping
//,FileManager.FileUtility.RestoreDeclawed(newLibraryDTO.DownloadBookLink) //,FileManager.FileUtility.RestoreDeclawed(newLibraryDTO.DownloadBookLink)
); );
context.Library.Add(libraryBook); context.Library.Add(libraryBook);

View File

@ -87,7 +87,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AudibleApiDTOs.Tests", "..\
EndProject EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AudibleApiClientExample", "..\audible api\AudibleApi\_Demos\AudibleApiClientExample\AudibleApiClientExample.csproj", "{282EEE16-F569-47E1-992F-C6DB8AEC7AA6}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AudibleApiClientExample", "..\audible api\AudibleApi\_Demos\AudibleApiClientExample\AudibleApiClientExample.csproj", "{282EEE16-F569-47E1-992F-C6DB8AEC7AA6}"
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ApplicationService", "ApplicationService\ApplicationService.csproj", "{B95650EA-25F0-449E-BA5D-99126BC5D730}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ApplicationServices", "ApplicationServices\ApplicationServices.csproj", "{B95650EA-25F0-449E-BA5D-99126BC5D730}"
EndProject EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution

View File

@ -1,7 +1,8 @@
-- begin LEGACY CODE ---------------------------------------------------------------------------------------------------------------------
-- end LEGACY CODE ---------------------------------------------------------------------------------------------------------------------
-- begin AUDIBLE DETAILS --------------------------------------------------------------------------------------------------------------------- -- begin AUDIBLE DETAILS ---------------------------------------------------------------------------------------------------------------------
alternate book id (eg BK_RAND_006061) is called 'sku' , 'sku_lite' , 'prod_id' , 'product_id' in different parts of the site alternate book id (eg BK_RAND_006061) is called 'sku' , 'sku_lite' , 'prod_id' , 'product_id' in different parts of the site
-- end AUDIBLE DETAILS --------------------------------------------------------------------------------------------------------------------- -- end AUDIBLE DETAILS ---------------------------------------------------------------------------------------------------------------------
-- begin SOLUTION LAYOUT --------------------------------------------------------------------------------------------------------------------- -- begin SOLUTION LAYOUT ---------------------------------------------------------------------------------------------------------------------

View File

@ -1,11 +1,7 @@
-- begin REPLACE SCRAPING WITH API --------------------------------------------------------------------------------------------------------------------- -- begin REPLACE SCRAPING WITH API ---------------------------------------------------------------------------------------------------------------------
library import UI make a github release version
move biz logic out of UI (Form1.scanLibraryToolStripMenuItem_Click) in REFERENCE.txt, say which version still has legacy scraping code in tact
- non-db dependent: InternalUtilities. see: SearchEngineActions remove scraping code. don't 'move' it
InternalUtilities.AudibleApiExtensions may not belong here. not sure
- db dependent: eg DtoImporterService
MOVE TO LEGACY MOVE TO LEGACY
-------------- --------------