DobyTang / LazyLibrarian

This project isn't finished yet. Goal is to create a SickBeard, CouchPotato, Headphones-like application for ebooks. Headphones is used as a base, so there are still a lot of references to it.
731 stars 70 forks source link

LL Not pulling full book list from GoodReads #450

Closed BenBeyond closed 8 years ago

BenBeyond commented 8 years ago

I have added the author Andy McNab to LL, but when it pulled his book list, it only pulled 36 books, while Goodreads lists 105 distinct works.

Trying to import Liberation Day by this author, and the book is on Goodreads, but is not included in the 36 pulled by LL, and therefore will not import.

philborman commented 8 years ago

Debug log might be useful, the end of mine says....

31-Aug-2016 19:15:53 - DEBUG :: ADDAUTHOR : CacheHandler: Storing XML for http://www.goodreads.com/author/list/12673.xml?key=XXXXXXXXXXXXXXXXX&page=5 31-Aug-2016 19:15:54 - DEBUG :: ADDAUTHOR : Found 105 total books for author 31-Aug-2016 19:15:54 - DEBUG :: ADDAUTHOR : Removed 19 bad language results for author 31-Aug-2016 19:15:54 - DEBUG :: ADDAUTHOR : Removed 0 bad character or no-name results for author 31-Aug-2016 19:15:54 - DEBUG :: ADDAUTHOR : Removed 18 duplicate results for author 31-Aug-2016 19:15:54 - DEBUG :: ADDAUTHOR : Ignored 0 books by author marked as Ignored 31-Aug-2016 19:15:54 - DEBUG :: ADDAUTHOR : Imported/Updated 68 books for author 31-Aug-2016 19:15:54 - INFO :: ADDAUTHOR : [Andy McNab] Book processing complete: Added 68 books to the database 31-Aug-2016 19:15:54 - DEBUG :: ADDAUTHOR : [Andy McNab] Author update complete

Correctly read 105 books but some were rejected. Left me with 68.

The "bad language" ones are supposedly foreign language, I see some dutch and italian in there. The duplicates are where the book title matches - debug log lists them as they are processed so you can check.

Your result of 35 (vs my 68) might be because you hit an error before page 5?? Hopefully the debug log will show if this is the case, and give us a clue why.

On 31/08/16 19:04, Ben wrote:

I have added the author Andy McNab to LL, but when it pulled his book list, it only pulled 36 books, while Goodreads lists 105 distinct works.

Trying to import Liberation Day by this author, and the book is on Goodreads, but is not included in the 36 pulled by LL, and therefore will not import.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/DobyTang/LazyLibrarian/issues/450, or mute the thread https://github.com/notifications/unsubscribe-auth/ALmHOU5xNvfprXWCwrcMXQdVjyPQBabaks5qlbQggaJpZM4Jx124.

BenBeyond commented 8 years ago

Tried to refresh the author because LL is still using a cached version of the goodreads search and pulls. Is there any way to flush the cached requests so I can try a fresh refresh?

philborman commented 8 years ago

Refresh author will reload the author pages (name, dates, lists of books) which should be enough.

It won't reload the individual book pages. If you want to reload everything, in config -> processing set cache expiry to 0, or delete your XML cache (on linux rm .lazylibrarian/cache/XMLCache/*)

On 31/08/16 19:54, Ben wrote:

Tried to refresh the author because LL is still using a cached version of the goodreads search and pulls. Is there any way to flush the cached requests so I can try a fresh refresh?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/DobyTang/LazyLibrarian/issues/450#issuecomment-243846069, or mute the thread https://github.com/notifications/unsubscribe-auth/ALmHOUiSiGW8bv9Wq6s8lRPOH1ayURAGks5qlb-_gaJpZM4Jx124.

BenBeyond commented 8 years ago

Here is what I get when I refresh the author (after setting cache expiry to 0):

2016-08-31 15:08:14 DEBUG [Andy McNab] Author update complete 2016-08-31 15:08:14 INFO [Andy McNab] Book processing complete: Added 0 books / Updated 0 books 2016-08-31 15:08:14 DEBUG Imported/Updated 0 books for author 2016-08-31 15:08:14 DEBUG Ignored 0 books by author marked as Ignored 2016-08-31 15:08:14 DEBUG Removed 4 duplicate results for author 2016-08-31 15:08:14 DEBUG Removed 0 bad character or no-name results for author 2016-08-31 15:08:14 DEBUG Removed 0 bad language results for author 2016-08-31 15:08:14 DEBUG Found 4 total books for author 2016-08-31 15:08:14 DEBUG CacheHandler: Storing XML for http://www.goodreads.com/author/list/12673.xml?key=ckvsiSDsuqh7omh74ZZ6Q&page=5 2016-08-31 15:08:13 DEBUG Rejecting bookid 18849950 for [Andy McNab][On War - an Andy McNab War Classic] already got this bookid in database 2016-08-31 15:08:13 DEBUG Found cached language [eng] for isbn13 [190] 2016-08-31 15:08:13 DEBUG CacheHandler: Storing XML for http://www.goodreads.com/author/list/12673.xml?key=ckvsiSDsuqh7omh74ZZ6Q&page=4 2016-08-31 15:08:13 DEBUG Rejecting bookid 18744188 for [Andy McNab][The Art of War] already got this bookid in database 2016-08-31 15:08:13 DEBUG GR language: en-US 2016-08-31 15:08:13 DEBUG CacheHandler: Storing XML for http://www.goodreads.com/book/show?id=18744188&key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:08:12 DEBUG Book URL: http://www.goodreads.com/book/show?id=18744188&key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:08:12 DEBUG CacheHandler: Storing XML for http://www.goodreads.com/author/list/12673.xml?key=ckvsiSDsuqh7omh74ZZ6Q&page=3 2016-08-31 15:08:11 DEBUG Rejecting bookid 7965462 for [Andy McNab][Drop Zone (Drop Zone #1)] already got this bookid in database 2016-08-31 15:08:11 DEBUG Found cached language [eng] for isbn [038] 2016-08-31 15:08:11 DEBUG CacheHandler: Storing XML for http://www.goodreads.com/author/list/12673.xml?key=ckvsiSDsuqh7omh74ZZ6Q&page=2 2016-08-31 15:08:11 DEBUG Rejecting bookid 22202 for [Andy McNab][Bravo Two Zero] already got this bookid in database 2016-08-31 15:08:11 DEBUG Found cached language [eng] for isbn [055] 2016-08-31 15:08:11 DEBUG author name Andy McNab 2016-08-31 15:08:11 DEBUG url http://www.goodreads.com/author/list/12673.xml?key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:08:11 DEBUG [Andy McNab] Now processing books with GoodReads API 2016-08-31 15:08:11 DEBUG CacheHandler: Storing XML for http://www.goodreads.com/author/list/12673.xml?key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:08:09 DEBUG [Andy McNab] Processing info for authorID: 12673 2016-08-31 15:08:09 DEBUG CacheHandler: Storing XML for http://www.goodreads.com/author/show/12673.xml?key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:08:09 DEBUG CacheHandler: Storing XML for http://www.goodreads.com/api/author_url/Andy%20McNab?key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:08:09 DEBUG Searching for author with name: Andy McNab 2016-08-31 15:08:09 DEBUG Now updating author: Andy McNab

philborman commented 8 years ago

Maybe try deleting the author from lazylibrarian and then search for him again. Looks like we are skipping books we've already got in the database. Won't delete any actual books, just database entries.

On Wed, 31 Aug 2016, 21:09 Ben, notifications@github.com wrote:

Here is what I get when I refresh the author:

2016-08-31 15:08:14 DEBUG [Andy McNab] Author update complete 2016-08-31 15:08:14 INFO [Andy McNab] Book processing complete: Added 0 books / Updated 0 books 2016-08-31 15:08:14 DEBUG Imported/Updated 0 books for author 2016-08-31 15:08:14 DEBUG Ignored 0 books by author marked as Ignored 2016-08-31 15:08:14 DEBUG Removed 4 duplicate results for author 2016-08-31 15:08:14 DEBUG Removed 0 bad character or no-name results for author 2016-08-31 15:08:14 DEBUG Removed 0 bad language results for author 2016-08-31 15:08:14 DEBUG Found 4 total books for author 2016-08-31 15:08:14 DEBUG CacheHandler: Storing XML for http://www.goodreads.com/author/list/12673.xml?key=ckvsiSDsuqh7omh74ZZ6Q&page=5 2016-08-31 15:08:13 DEBUG Rejecting bookid 18849950 for [Andy McNab][On War - an Andy McNab War Classic] already got this bookid in database 2016-08-31 15:08:13 DEBUG Found cached language [eng] for isbn13 [190] 2016-08-31 15:08:13 DEBUG CacheHandler: Storing XML for http://www.goodreads.com/author/list/12673.xml?key=ckvsiSDsuqh7omh74ZZ6Q&page=4 2016-08-31 15:08:13 DEBUG Rejecting bookid 18744188 for [Andy McNab][The Art of War] already got this bookid in database 2016-08-31 15:08:13 DEBUG GR language: en-US 2016-08-31 15:08:13 DEBUG CacheHandler: Storing XML for http://www.goodreads.com/book/show?id=18744188&key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:08:12 DEBUG Book URL: http://www.goodreads.com/book/show?id=18744188&key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:08:12 DEBUG CacheHandler: Storing XML for http://www.goodreads.com/author/list/12673.xml?key=ckvsiSDsuqh7omh74ZZ6Q&page=3 2016-08-31 15:08:11 DEBUG Rejecting bookid 7965462 for [Andy McNab][Drop Zone (Drop Zone #1 https://github.com/DobyTang/LazyLibrarian/issues/1)] already got this bookid in database 2016-08-31 15:08:11 DEBUG Found cached language [eng] for isbn [038] 2016-08-31 15:08:11 DEBUG CacheHandler: Storing XML for http://www.goodreads.com/author/list/12673.xml?key=ckvsiSDsuqh7omh74ZZ6Q&page=2 2016-08-31 15:08:11 DEBUG Rejecting bookid 22202 for [Andy McNab][Bravo Two Zero] already got this bookid in database 2016-08-31 15:08:11 DEBUG Found cached language [eng] for isbn [055] 2016-08-31 15:08:11 DEBUG author name Andy McNab 2016-08-31 15:08:11 DEBUG url http://www.goodreads.com/author/list/12673.xml?key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:08:11 DEBUG [Andy McNab] Now processing books with GoodReads API 2016-08-31 15:08:11 DEBUG CacheHandler: Storing XML for http://www.goodreads.com/author/list/12673.xml?key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:08:09 DEBUG [Andy McNab] Processing info for authorID: 12673 2016-08-31 15:08:09 DEBUG CacheHandler: Storing XML for http://www.goodreads.com/author/show/12673.xml?key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:08:09 DEBUG CacheHandler: Storing XML for http://www.goodreads.com/api/author_url/Andy%20McNab?key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:08:09 DEBUG Searching for author with name: Andy McNab 2016-08-31 15:08:09 DEBUG Now updating author: Andy McNab

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/DobyTang/LazyLibrarian/issues/450#issuecomment-243868472, or mute the thread https://github.com/notifications/unsubscribe-auth/ALmHOdUmd4hmetE3X2OMuApNeefRKWwEks5qldFPgaJpZM4Jx124 .

BenBeyond commented 8 years ago

Debug log after remove and search author again:

2016-08-31 15:22:55 DEBUG [Andy McNab] Author update complete 2016-08-31 15:22:55 INFO [Andy McNab] Book processing complete: Added 36 books to the database 2016-08-31 15:22:55 DEBUG Imported/Updated 36 books for author 2016-08-31 15:22:55 DEBUG Ignored 0 books by author marked as Ignored 2016-08-31 15:22:55 DEBUG Removed 19 duplicate results for author 2016-08-31 15:22:55 DEBUG Removed 0 bad character or no-name results for author 2016-08-31 15:22:55 DEBUG Removed 18 bad language results for author 2016-08-31 15:22:55 DEBUG Found 73 total books for author 2016-08-31 15:22:55 DEBUG CacheHandler: Storing XML for http://www.goodreads.com/author/list/12673.xml?key=ckvsiSDsuqh7omh74ZZ6Q&page=5 2016-08-31 15:22:55 DEBUG Rejecting bookid 21061213 for [Andy McNab][Meltdown. Andy McNab and Robert Rigby] already got this bookid in database 2016-08-31 15:22:55 DEBUG Found cached language [eng] for isbn [184] 2016-08-31 15:22:55 DEBUG [Andy McNab] Added book: Special Forces Heroes 2016-08-31 15:22:55 DEBUG getBookWork: Returning Cached WorkPage for 6053406 Workpage 2016-08-31 15:22:55 DEBUG getBookWork: Returning Cached WorkPage for 6053406 Series 2016-08-31 15:22:55 DEBUG Updated cover for Special Forces Heroes to images/cache/6053406.jpg 2016-08-31 15:22:55 DEBUG getBookCover: Returning Cached response for /home/ben/LazyLibrarian/data/images/cache/6053406.jpg 2016-08-31 15:22:55 DEBUG Book found: Special Forces Heroes: Extraordinary Stories of Daring and Valour 2008 2016-08-31 15:22:54 DEBUG Found cached language [eng] for isbn [075] 2016-08-31 15:22:54 DEBUG [Andy McNab] Added book: Soldier Against the Odds 2016-08-31 15:22:54 DEBUG getBookWork: Returning Cached WorkPage for 955051 Workpage 2016-08-31 15:22:54 DEBUG getBookWork: Returning Cached WorkPage for 955051 Series 2016-08-31 15:22:54 DEBUG Updated cover for Soldier Against the Odds to images/cache/955051.jpg 2016-08-31 15:22:54 DEBUG getBookCover: Returning Cached response for /home/ben/LazyLibrarian/data/images/cache/955051.jpg 2016-08-31 15:22:54 DEBUG Book found: Soldier Against the Odds: From Korean War to SAS 2000 2016-08-31 15:22:54 DEBUG Found cached language [eng] for isbn [184] 2016-08-31 15:22:54 DEBUG [Andy McNab] Added book: The Anniversary 2016-08-31 15:22:54 DEBUG getBookWork: Returning Cached WorkPage for 28695971 Workpage 2016-08-31 15:22:54 DEBUG getBookWork: Returning Cached WorkPage for 28695971 Series 2016-08-31 15:22:54 DEBUG Book found: The Anniversary 2016 2016-08-31 15:22:54 DEBUG Found cached language [eng] for isbn13 [140] 2016-08-31 15:22:54 DEBUG [Andy McNab] Added book: Soldier I 2016-08-31 15:22:54 DEBUG getBookWork: Returning Cached WorkPage for 7333058 Workpage 2016-08-31 15:22:54 DEBUG getBookWork: Returning Cached WorkPage for 7333058 Series 2016-08-31 15:22:54 DEBUG Book found: Soldier ‘I’: The story of an SAS Hero 2010 2016-08-31 15:22:54 DEBUG Found cached language [eng] for isbn [184] 2016-08-31 15:22:54 DEBUG [Andy McNab] Added book: We Die Alone 2016-08-31 15:22:53 DEBUG getBookWork: Returning Cached WorkPage for 9411323 Workpage 2016-08-31 15:22:53 DEBUG getBookWork: Returning Cached WorkPage for 9411323 Series 2016-08-31 15:22:53 DEBUG Book found: We Die Alone 2010 2016-08-31 15:22:53 DEBUG Found cached language [eng] for isbn [184] 2016-08-31 15:22:53 DEBUG [Andy McNab] Added book: On War - an Andy McNab War Classic 2016-08-31 15:22:53 DEBUG getBookWork: Returning Cached WorkPage for 18849950 Workpage 2016-08-31 15:22:53 DEBUG getBookWork: Returning Cached WorkPage for 18849950 Series 2016-08-31 15:22:53 DEBUG Updated cover for On War - an Andy McNab War Classic to images/cache/18849950.jpg 2016-08-31 15:22:53 DEBUG getBookCover: Returning Cached response for /home/ben/LazyLibrarian/data/images/cache/18849950.jpg 2016-08-31 15:22:53 DEBUG Book found: On War - an Andy McNab War Classic: The beautifully reproduced illustrated 1908 edition, with introduction by Andy McNab, notes by Col. F.N. Maude and brief memoir of General Clausewitz 0000 2016-08-31 15:22:53 DEBUG Found cached language [eng] for isbn13 [190] 2016-08-31 15:22:53 DEBUG CacheHandler: Storing XML for http://www.goodreads.com/author/list/12673.xml?key=ckvsiSDsuqh7omh74ZZ6Q&page=4 2016-08-31 15:22:52 DEBUG [Andy McNab] Added book: boxset - three books - Aggressor, Dark Winter, Deep Black 2016-08-31 15:22:52 DEBUG getBookWork: Returning Cached WorkPage for 31290356 Workpage 2016-08-31 15:22:52 DEBUG getBookWork: Returning Cached WorkPage for 31290356 Series 2016-08-31 15:22:52 DEBUG Updated cover for boxset - three books - Aggressor, Dark Winter, Deep Black to images/cache/31290356.jpg 2016-08-31 15:22:52 DEBUG getBookCover: Returning Cached response for /home/ben/LazyLibrarian/data/images/cache/31290356.jpg 2016-08-31 15:22:52 DEBUG Book found: boxset - three books - Aggressor, Dark Winter, Deep Black 0000 2016-08-31 15:22:52 DEBUG Found cached language [eng] for isbn [140] 2016-08-31 15:22:52 DEBUG Skipped a book with language Unknown 2016-08-31 15:22:52 DEBUG GR language: Unknown 2016-08-31 15:22:52 DEBUG CacheHandler: Storing XML for http://www.goodreads.com/book/show?id=28103772&key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:22:52 DEBUG Book URL: http://www.goodreads.com/book/show?id=28103772&key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:22:52 DEBUG Skipped a book with language invalid0276429394 2016-08-31 15:22:52 DEBUG Found cached language [invalid0276429394] for isbn13 [027] 2016-08-31 15:22:52 DEBUG Skipped a book with language Unknown 2016-08-31 15:22:52 DEBUG GR language: Unknown 2016-08-31 15:22:52 DEBUG CacheHandler: Storing XML for http://www.goodreads.com/book/show?id=25711054&key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:22:50 DEBUG Book URL: http://www.goodreads.com/book/show?id=25711054&key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:22:50 DEBUG Skipped a book with language Unknown 2016-08-31 15:22:50 DEBUG GR language: Unknown 2016-08-31 15:22:50 DEBUG CacheHandler: Storing XML for http://www.goodreads.com/book/show?id=27775002&key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:22:50 DEBUG Book URL: http://www.goodreads.com/book/show?id=27775002&key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:22:50 DEBUG Rejecting bookid 1049942 for [Andy McNab][Immediate Action] already got 27917563 2016-08-31 15:22:50 DEBUG Found cached language [eng] for isbn [074] 2016-08-31 15:22:50 DEBUG [Andy McNab] Added book: Cold Blood (Nick Stone, #18) 2016-08-31 15:22:50 DEBUG getBookWork: Returning Cached WorkPage for 29639720 Workpage 2016-08-31 15:22:50 DEBUG Book found: Cold Blood (Nick Stone, #18) 0000 2016-08-31 15:22:50 DEBUG GR language: eng 2016-08-31 15:22:50 DEBUG CacheHandler: Storing XML for http://www.goodreads.com/book/show?id=29639720&key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:22:48 DEBUG Book URL: http://www.goodreads.com/book/show?id=29639720&key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:22:48 DEBUG [Andy McNab] Added book: Untitled Street Soldier book 2 2016-08-31 15:22:48 DEBUG getBookWork: Returning Cached WorkPage for 28805725 Workpage 2016-08-31 15:22:48 DEBUG getBookWork: Returning Cached WorkPage for 28805725 Series 2016-08-31 15:22:48 DEBUG Updated cover for Untitled Street Soldier book 2 to images/cache/28805725.jpg 2016-08-31 15:22:48 DEBUG getBookCover: Returning Cached response for /home/ben/LazyLibrarian/data/images/cache/28805725.jpg 2016-08-31 15:22:48 DEBUG Book found: Untitled Street Soldier book 2 2016 2016-08-31 15:22:48 DEBUG Found cached language [eng] for isbn [144] 2016-08-31 15:22:48 DEBUG Skipped a book with language unknown 2016-08-31 15:22:48 DEBUG Found cached language [unknown] for isbn [994] 2016-08-31 15:22:48 DEBUG Rejecting bookid 28103350 for [Andy McNab][On The Rock] already got 26631746 2016-08-31 15:22:48 DEBUG Found cached language [eng] for isbn [055] 2016-08-31 15:22:48 DEBUG Skipped a book with language dut 2016-08-31 15:22:48 DEBUG Found cached language [dut] for isbn13 [904] 2016-08-31 15:22:48 DEBUG [Andy McNab] Added book: Readers Digest - Todays Best Nonfiction - Bravo Two Zero, AudreyAn Intimate Portrait, Gavin MaxwellA Life, Let Me Hear Your Voice 2016-08-31 15:22:48 DEBUG getBookWork: Returning Cached WorkPage for 17730962 Workpage 2016-08-31 15:22:48 DEBUG getBookWork: Returning Cached WorkPage for 17730962 Series 2016-08-31 15:22:48 DEBUG Book found: Reader's Digest - Today's Best Nonfiction - Bravo Two Zero, Audrey:An Intimate Portrait, Gavin Maxwell:A Life, Let Me Hear Your Voice 1994 2016-08-31 15:22:48 DEBUG GR language: eng 2016-08-31 15:22:48 DEBUG CacheHandler: Storing XML for http://www.goodreads.com/book/show?id=17730962&key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:22:48 DEBUG Book URL: http://www.goodreads.com/book/show?id=17730962&key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:22:48 DEBUG Skipped a book with language pol 2016-08-31 15:22:48 DEBUG Found cached language [pol] for isbn [837] 2016-08-31 15:22:48 DEBUG [Andy McNab] Added book: Roadside Bomb (Spoken From The Front, #3) 2016-08-31 15:22:48 DEBUG getBookWork: Returning Cached WorkPage for 19545026 Workpage 2016-08-31 15:22:48 DEBUG Book found: Roadside Bomb (Spoken From The Front, #3) 2007 2016-08-31 15:22:47 DEBUG GR language: eng 2016-08-31 15:22:47 DEBUG CacheHandler: Storing XML for http://www.goodreads.com/book/show?id=19545026&key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:22:47 DEBUG Book URL: http://www.goodreads.com/book/show?id=19545026&key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:22:47 DEBUG Rejecting bookid 25870412 for [Andy McNab][Street Soldier] already got 28248381 2016-08-31 15:22:47 DEBUG Found cached language [eng] for isbn [144] 2016-08-31 15:22:47 DEBUG Skipped a book with language cze 2016-08-31 15:22:47 DEBUG Found cached language [cze] for isbn [803] 2016-08-31 15:22:47 DEBUG [Andy McNab] Added book: Seven Troop 2016-08-31 15:22:47 DEBUG getBookWork: Returning Cached WorkPage for 28342642 Workpage 2016-08-31 15:22:47 DEBUG getBookWork: Returning Cached WorkPage for 28342642 Series 2016-08-31 15:22:47 DEBUG Updated cover for Seven Troop to images/cache/28342642.jpg 2016-08-31 15:22:47 DEBUG getBookCover: Returning Cached response for /home/ben/LazyLibrarian/data/images/cache/28342642.jpg 2016-08-31 15:22:47 DEBUG Book found: Seven Troop: The incredible true SAS story 0000 2016-08-31 15:22:47 DEBUG Found cached language [eng] for isbn [191] 2016-08-31 15:22:47 DEBUG Rejecting bookid 25870412 for [Andy McNab][Street Soldier] already got 28248337 2016-08-31 15:22:47 DEBUG Found cached language [eng] for isbn [144] 2016-08-31 15:22:47 DEBUG [Andy McNab] Added book: Iraq Ambush (Spoken From The Front, #1) 2016-08-31 15:22:47 DEBUG getBookWork: Returning Cached WorkPage for 17794836 Workpage 2016-08-31 15:22:47 DEBUG Updated cover for Iraq Ambush (Spoken From The Front, #1) to images/cache/17794836.jpg 2016-08-31 15:22:47 DEBUG getBookCover: Returning Cached response for /home/ben/LazyLibrarian/data/images/cache/17794836.jpg 2016-08-31 15:22:47 DEBUG Book found: Iraq Ambush (Spoken From The Front, #1) 0000 2016-08-31 15:22:47 DEBUG GR language: eng 2016-08-31 15:22:47 DEBUG CacheHandler: Storing XML for http://www.goodreads.com/book/show?id=17794836&key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:22:45 DEBUG Book URL: http://www.goodreads.com/book/show?id=17794836&key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:22:45 DEBUG [Andy McNab] Added book: HRH Kidnap (Spoken From The Front, #2) 2016-08-31 15:22:45 DEBUG getBookWork: Returning Cached WorkPage for 19545021 Workpage 2016-08-31 15:22:45 DEBUG Book found: HRH Kidnap (Spoken From The Front, #2) 2007 2016-08-31 15:22:45 DEBUG GR language: eng 2016-08-31 15:22:45 DEBUG CacheHandler: Storing XML for http://www.goodreads.com/book/show?id=19545021&key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:22:45 DEBUG Book URL: http://www.goodreads.com/book/show?id=19545021&key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:22:45 DEBUG Rejecting bookid 25870412 for [Andy McNab][Street Soldier] already got 28248434 2016-08-31 15:22:45 DEBUG Found cached language [eng] for isbn [144] 2016-08-31 15:22:45 DEBUG Skipped a book with language dut 2016-08-31 15:22:45 DEBUG Found cached language [dut] for isbn13 [904] 2016-08-31 15:22:45 DEBUG Rejecting bookid 25870412 for [Andy McNab][Street Soldier] already got 28248363 2016-08-31 15:22:45 DEBUG Found cached language [eng] for isbn [144] 2016-08-31 15:22:45 DEBUG Rejecting bookid 25870412 for [Andy McNab][Street Soldier] already got 28248417 2016-08-31 15:22:45 DEBUG Found cached language [eng] for isbn [144] 2016-08-31 15:22:45 DEBUG Rejecting bookid 17431340 for [Andy McNab][The New Recruit] already got 17431344 2016-08-31 15:22:45 DEBUG Found cached language [eng] for isbn [144] 2016-08-31 15:22:45 DEBUG Skipped a book with language Unknown 2016-08-31 15:22:45 DEBUG GR language: Unknown 2016-08-31 15:22:45 DEBUG CacheHandler: Storing XML for http://www.goodreads.com/book/show?id=25241997&key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:22:44 DEBUG Book URL: http://www.goodreads.com/book/show?id=25241997&key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:22:44 DEBUG Rejecting bookid 18625220 for [Andy McNab][The New Patrol] already got 18625212 2016-08-31 15:22:44 DEBUG Found cached language [eng] for isbn [144] 2016-08-31 15:22:44 DEBUG Rejecting bookid 17431340 for [Andy McNab][The New Recruit] already got 17431345 2016-08-31 15:22:44 DEBUG Found cached language [eng] for isbn [144] 2016-08-31 15:22:44 DEBUG Rejecting bookid 18625220 for [Andy McNab][The New Patrol] already got 18625213 2016-08-31 15:22:44 DEBUG Found cached language [eng] for isbn [144] 2016-08-31 15:22:44 DEBUG [Andy McNab] Added book: The Art of War 2016-08-31 15:22:44 DEBUG getBookWork: Returning Cached WorkPage for 18744188 Workpage 2016-08-31 15:22:44 DEBUG getBookWork: Returning Cached WorkPage for 18744188 Series 2016-08-31 15:22:44 DEBUG Book found: The Art of War: The beautifully reproduced 1910 edition, with introduction by Andy McNab, Critical Notes by Lionel Giles, M.A. and illustrations 2013 2016-08-31 15:22:44 DEBUG GR language: en-US 2016-08-31 15:22:44 DEBUG CacheHandler: Storing XML for http://www.goodreads.com/book/show?id=18744188&key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:22:43 DEBUG Book URL: http://www.goodreads.com/book/show?id=18744188&key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:22:43 DEBUG CacheHandler: Storing XML for http://www.goodreads.com/author/list/12673.xml?key=ckvsiSDsuqh7omh74ZZ6Q&page=3 2016-08-31 15:22:43 DEBUG Rejecting bookid 17431340 for [Andy McNab][The New Recruit] already got 17431343 2016-08-31 15:22:43 DEBUG Found cached language [eng] for isbn [144] 2016-08-31 15:22:43 DEBUG Rejecting bookid 17431340 for [Andy McNab][The New Recruit] already got 17431342 2016-08-31 15:22:43 DEBUG Found cached language [eng] for isbn [144] 2016-08-31 15:22:43 DEBUG [Andy McNab] Added book: Spoken From the Front 2 2016-08-31 15:22:43 DEBUG getBookWork: Returning Cached WorkPage for 11371285 Workpage 2016-08-31 15:22:43 DEBUG getBookWork: Returning Cached WorkPage for 11371285 Series 2016-08-31 15:22:43 DEBUG Updated cover for Spoken From the Front 2 to images/cache/11371285.jpg 2016-08-31 15:22:43 DEBUG getBookCover: Returning Cached response for /home/ben/LazyLibrarian/data/images/cache/11371285.jpg 2016-08-31 15:22:43 DEBUG Book found: Spoken From the Front 2 2012 2016-08-31 15:22:42 DEBUG Found cached language [eng] for isbn [059] 2016-08-31 15:22:42 DEBUG Rejecting bookid 18625220 for [Andy McNab][The New Patrol] already got 18625215 2016-08-31 15:22:42 DEBUG Found cached language [eng] for isbn [144] 2016-08-31 15:22:42 DEBUG Rejecting bookid 17431340 for [Andy McNab][The New Recruit] already got 17431341 2016-08-31 15:22:42 DEBUG Found cached language [eng] for isbn [144] 2016-08-31 15:22:42 DEBUG Rejecting bookid 18625220 for [Andy McNab][The New Patrol] already got 18625222 2016-08-31 15:22:42 DEBUG Found cached language [eng] for isbn [144] 2016-08-31 15:22:42 DEBUG [Andy McNab] Added book: The New Patrol 2016-08-31 15:22:42 DEBUG getBookWork: Returning Cached WorkPage for 18625220 Workpage 2016-08-31 15:22:42 DEBUG getBookWork: Returning Cached WorkPage for 18625220 Series 2016-08-31 15:22:42 DEBUG Book found: The New Patrol: Episode 3 2013 2016-08-31 15:22:42 DEBUG Found cached language [eng] for isbn [144] 2016-08-31 15:22:42 DEBUG Rejecting bookid 25870412 for [Andy McNab][Street Soldier] already got 28248464 2016-08-31 15:22:42 DEBUG Found cached language [eng] for isbn [144] 2016-08-31 15:22:42 DEBUG [Andy McNab] Added book: Boy Soldier 2016-08-31 15:22:42 DEBUG getBookWork: Returning Cached WorkPage for 23159103 Workpage 2016-08-31 15:22:42 DEBUG getBookWork: Returning Cached WorkPage for 23159103 Series 2016-08-31 15:22:42 DEBUG Updated cover for Boy Soldier to images/cache/23159103.jpg 2016-08-31 15:22:42 DEBUG getBookCover: Returning Cached response for /home/ben/LazyLibrarian/data/images/cache/23159103.jpg 2016-08-31 15:22:42 DEBUG Book found: Boy Soldier 2005 2016-08-31 15:22:42 DEBUG GR language: eng 2016-08-31 15:22:42 DEBUG CacheHandler: Storing XML for http://www.goodreads.com/book/show?id=23159103&key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:22:42 DEBUG Book URL: http://www.goodreads.com/book/show?id=23159103&key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:22:42 DEBUG [Andy McNab] Added book: Street Soldier 2016-08-31 15:22:42 DEBUG getBookWork: Returning Cached WorkPage for 25870412 Workpage 2016-08-31 15:22:42 DEBUG getBookWork: Returning Cached WorkPage for 25870412 Series 2016-08-31 15:22:42 DEBUG Updated cover for Street Soldier to images/cache/25870412.jpg 2016-08-31 15:22:42 DEBUG getBookCover: Returning Cached response for /home/ben/LazyLibrarian/data/images/cache/25870412.jpg 2016-08-31 15:22:42 DEBUG Book found: Street Soldier 2016 2016-08-31 15:22:41 DEBUG Found cached language [eng] for isbn [085] 2016-08-31 15:22:41 DEBUG Skipped a book with language Unknown 2016-08-31 15:22:41 DEBUG GR language: Unknown 2016-08-31 15:22:41 DEBUG CacheHandler: Storing XML for http://www.goodreads.com/book/show?id=23801249&key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:22:40 DEBUG Book URL: http://www.goodreads.com/book/show?id=23801249&key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:22:40 DEBUG Skipped a book with language Unknown 2016-08-31 15:22:40 DEBUG GR language: Unknown 2016-08-31 15:22:40 DEBUG CacheHandler: Storing XML for http://www.goodreads.com/book/show?id=23854695&key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:22:40 DEBUG Book URL: http://www.goodreads.com/book/show?id=23854695&key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:22:40 DEBUG Skipped a book with language Unknown 2016-08-31 15:22:40 DEBUG GR language: Unknown 2016-08-31 15:22:40 DEBUG CacheHandler: Storing XML for http://www.goodreads.com/book/show?id=23819002&key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:22:38 DEBUG Book URL: http://www.goodreads.com/book/show?id=23819002&key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:22:38 DEBUG Skipped a book with language Unknown 2016-08-31 15:22:38 DEBUG GR language: Unknown 2016-08-31 15:22:38 DEBUG CacheHandler: Storing XML for http://www.goodreads.com/book/show?id=24162504&key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:22:38 DEBUG Book URL: http://www.goodreads.com/book/show?id=24162504&key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:22:38 DEBUG Skipped a book with language Unknown 2016-08-31 15:22:38 DEBUG GR language: Unknown 2016-08-31 15:22:38 DEBUG CacheHandler: Storing XML for http://www.goodreads.com/book/show?id=23534721&key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:22:37 DEBUG Book URL: http://www.goodreads.com/book/show?id=23534721&key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:22:37 DEBUG Skipped a book with language Unknown 2016-08-31 15:22:37 DEBUG GR language: Unknown 2016-08-31 15:22:37 DEBUG CacheHandler: Storing XML for http://www.goodreads.com/book/show?id=18876085&key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:22:37 DEBUG Book URL: http://www.goodreads.com/book/show?id=18876085&key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:22:37 DEBUG Skipped a book with language Unknown 2016-08-31 15:22:37 DEBUG GR language: Unknown 2016-08-31 15:22:37 DEBUG CacheHandler: Storing XML for http://www.goodreads.com/book/show?id=26091193&key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:22:35 DEBUG Book URL: http://www.goodreads.com/book/show?id=26091193&key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:22:35 DEBUG Skipped a book with language Unknown 2016-08-31 15:22:35 DEBUG GR language: Unknown 2016-08-31 15:22:35 DEBUG CacheHandler: Storing XML for http://www.goodreads.com/book/show?id=23437676&key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:22:35 DEBUG Book URL: http://www.goodreads.com/book/show?id=23437676&key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:22:35 DEBUG [Andy McNab] Added book: The New Recruit 2016-08-31 15:22:35 DEBUG getBookWork: Returning Cached WorkPage for 17431340 Workpage 2016-08-31 15:22:35 DEBUG getBookWork: Returning Cached WorkPage for 17431340 Series 2016-08-31 15:22:35 DEBUG Book found: The New Recruit: Episode 1 2012 2016-08-31 15:22:35 DEBUG Found cached language [eng] for isbn [144] 2016-08-31 15:22:35 DEBUG [Andy McNab] Added book: On The Rock 2016-08-31 15:22:35 DEBUG getBookWork: Returning Cached WorkPage for 28103350 Workpage 2016-08-31 15:22:34 DEBUG Updated cover for On The Rock to images/cache/28103350.jpg 2016-08-31 15:22:34 DEBUG getBookCover: Returning Cached response for /home/ben/LazyLibrarian/data/images/cache/28103350.jpg 2016-08-31 15:22:34 DEBUG Book found: On The Rock: Quick Read (Quick Read 2016) 0000 2016-08-31 15:22:34 DEBUG GR language: eng 2016-08-31 15:22:34 DEBUG CacheHandler: Storing XML for http://www.goodreads.com/book/show?id=28103350&key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:22:34 DEBUG Book URL: http://www.goodreads.com/book/show?id=28103350&key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:22:34 DEBUG [Andy McNab] Added book: The New Enemy (Liam Scott, #3) 2016-08-31 15:22:34 DEBUG getBookWork: Returning Cached WorkPage for 22839072 Workpage 2016-08-31 15:22:34 DEBUG Book found: The New Enemy (Liam Scott, #3) 2015 2016-08-31 15:22:34 DEBUG Found cached language [eng] for isbn [085] 2016-08-31 15:22:34 DEBUG [Andy McNab] Added book: The New Patrol (Liam Scott, #2) 2016-08-31 15:22:34 DEBUG getBookWork: Returning Cached WorkPage for 17999134 Workpage 2016-08-31 15:22:34 DEBUG Book found: The New Patrol (Liam Scott, #2) 2014 2016-08-31 15:22:33 DEBUG Found cached language [eng] for isbn [085] 2016-08-31 15:22:33 DEBUG [Andy McNab] Added book: Today Everything Changes 2016-08-31 15:22:33 DEBUG getBookWork: Returning Cached WorkPage for 17270565 Workpage 2016-08-31 15:22:33 DEBUG Updated series: Quick Reads [2013] 2016-08-31 15:22:33 DEBUG getBookWork: Returning Cached WorkPage for 17270565 Series 2016-08-31 15:22:33 DEBUG Book found: Today Everything Changes 2013 2016-08-31 15:22:33 DEBUG Found cached language [eng] for isbn [055] 2016-08-31 15:22:33 DEBUG [Andy McNab] Added book: Battle Lines (War Torn, #2) 2016-08-31 15:22:33 DEBUG getBookWork: Returning Cached WorkPage for 9937468 Workpage 2016-08-31 15:22:33 DEBUG Book found: Battle Lines (War Torn, #2) 2012 2016-08-31 15:22:33 DEBUG Found cached language [eng] for isbn [059] 2016-08-31 15:22:33 DEBUG [Andy McNab] Added book: Spoken From The Front 2016-08-31 15:22:33 DEBUG getBookWork: Returning Cached WorkPage for 9775079 Workpage 2016-08-31 15:22:33 DEBUG getBookWork: Returning Cached WorkPage for 9775079 Series 2016-08-31 15:22:32 DEBUG Book found: Spoken From The Front: Real Voices From the Battlefields of Afghanistan 2010 2016-08-31 15:22:32 DEBUG Found cached language [eng] for isbn [055] 2016-08-31 15:22:32 DEBUG [Andy McNab] Added book: DropZone 2016-08-31 15:22:32 DEBUG getBookWork: Returning Cached WorkPage for 11114572 Workpage 2016-08-31 15:22:32 DEBUG getBookWork: Returning Cached WorkPage for 11114572 Series 2016-08-31 15:22:32 DEBUG Updated cover for DropZone to images/cache/11114572.jpg 2016-08-31 15:22:32 DEBUG getBookCover: Returning Cached response for /home/ben/LazyLibrarian/data/images/cache/11114572.jpg 2016-08-31 15:22:32 DEBUG Book found: DropZone: Terminal Velocity 2011 2016-08-31 15:22:32 DEBUG Found cached language [eng] for isbn [038] 2016-08-31 15:22:32 DEBUG [Andy McNab] Added book: State Of Emergency (Tom Buckingham, #3) 2016-08-31 15:22:32 DEBUG getBookWork: Returning Cached WorkPage for 24991873 Workpage 2016-08-31 15:22:32 DEBUG Book found: State Of Emergency (Tom Buckingham, #3) 0000 2016-08-31 15:22:32 DEBUG GR language: eng 2016-08-31 15:22:32 DEBUG CacheHandler: Storing XML for http://www.goodreads.com/book/show?id=24991873&key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:22:31 DEBUG Book URL: http://www.goodreads.com/book/show?id=24991873&key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:22:31 DEBUG [Andy McNab] Added book: The New Recruit (Liam Scott, #1) 2016-08-31 15:22:31 DEBUG getBookWork: Returning Cached WorkPage for 17120560 Workpage 2016-08-31 15:22:31 DEBUG Book found: The New Recruit (Liam Scott, #1) 2013 2016-08-31 15:22:31 DEBUG Found cached language [eng] for isbn [085] 2016-08-31 15:22:31 DEBUG [Andy McNab] Added book: Last Night Another Soldier 2016-08-31 15:22:31 DEBUG getBookWork: Returning Cached WorkPage for 7718367 Workpage 2016-08-31 15:22:31 DEBUG Updated series: Quick Reads [2010] 2016-08-31 15:22:31 DEBUG getBookWork: Returning Cached WorkPage for 7718367 Series 2016-08-31 15:22:31 DEBUG Book found: Last Night Another Soldier 2010 2016-08-31 15:22:31 DEBUG Found cached language [eng] for isbn [055] 2016-08-31 15:22:31 DEBUG [Andy McNab] Added book: Drop Zone (Drop Zone #1) 2016-08-31 15:22:30 DEBUG getBookWork: Returning Cached WorkPage for 7965462 Workpage 2016-08-31 15:22:30 DEBUG Updated cover for Drop Zone (Drop Zone #1) to images/cache/7965462.jpg 2016-08-31 15:22:30 DEBUG getBookCover: Returning Cached response for /home/ben/LazyLibrarian/data/images/cache/7965462.jpg 2016-08-31 15:22:30 DEBUG Book found: Drop Zone (Drop Zone #1) 2010 2016-08-31 15:22:30 DEBUG Found cached language [eng] for isbn [038] 2016-08-31 15:22:30 DEBUG CacheHandler: Storing XML for http://www.goodreads.com/author/list/12673.xml?key=ckvsiSDsuqh7omh74ZZ6Q&page=2 2016-08-31 15:22:29 DEBUG Rejecting bookid 591822 for [Andy McNab][Traitor (Boy Soldier, #1)] already got this bookid in database 2016-08-31 15:22:29 DEBUG Found cached language [eng] for isbn [014] 2016-08-31 15:22:29 DEBUG [Andy McNab] Added book: Crisis Four (Nick Stone, #2) 2016-08-31 15:22:29 DEBUG getBookWork: Returning Cached WorkPage for 601631 Workpage 2016-08-31 15:22:29 DEBUG Book found: Crisis Four (Nick Stone, #2) 2000 2016-08-31 15:22:29 DEBUG Found cached language [eng] for isbn [055] 2016-08-31 15:22:29 DEBUG [Andy McNab] Added book: Firewall (Nick Stone, #3) 2016-08-31 15:22:29 DEBUG getBookWork: Returning Cached WorkPage for 666675 Workpage 2016-08-31 15:22:29 DEBUG Book found: Firewall (Nick Stone, #3) 2004 2016-08-31 15:22:29 DEBUG Found cached language [eng] for isbn [055] 2016-08-31 15:22:29 DEBUG [Andy McNab] Added book: Immediate Action 2016-08-31 15:22:29 DEBUG getBookWork: Returning Cached WorkPage for 1049942 Workpage 2016-08-31 15:22:29 DEBUG getBookWork: Returning Cached WorkPage for 1049942 Series 2016-08-31 15:22:28 DEBUG Book found: Immediate Action 1996 2016-08-31 15:22:28 DEBUG Found cached language [eng] for isbn [044] 2016-08-31 15:22:28 DEBUG [Andy McNab] Added book: Remote Control (Nick Stone, #1) 2016-08-31 15:22:28 DEBUG getBookWork: Returning Cached WorkPage for 601621 Workpage 2016-08-31 15:22:28 DEBUG Book found: Remote Control (Nick Stone, #1) 2006 2016-08-31 15:22:28 DEBUG Found cached language [eng] for isbn [055] 2016-08-31 15:22:28 DEBUG [Andy McNab] Added book: Bravo Two Zero 2016-08-31 15:22:28 DEBUG getBookWork: Returning Cached WorkPage for 22202 Workpage 2016-08-31 15:22:28 DEBUG getBookWork: Returning Cached WorkPage for 22202 Series 2016-08-31 15:22:28 DEBUG Updated cover for Bravo Two Zero to images/cache/22202.jpg 2016-08-31 15:22:28 DEBUG getBookCover: Returning Cached response for /home/ben/LazyLibrarian/data/images/cache/22202.jpg 2016-08-31 15:22:28 DEBUG Book found: Bravo Two Zero 2005 2016-08-31 15:22:28 DEBUG Found cached language [eng] for isbn [055] 2016-08-31 15:22:28 DEBUG author name Andy McNab 2016-08-31 15:22:28 DEBUG url http://www.goodreads.com/author/list/12673.xml?key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:22:28 DEBUG [Andy McNab] Now processing books with GoodReads API 2016-08-31 15:22:28 DEBUG CacheHandler: Storing XML for http://www.goodreads.com/author/list/12673.xml?key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:22:27 DEBUG [Andy McNab] Processing info for authorID: 12673 2016-08-31 15:22:27 DEBUG CacheHandler: Storing XML for http://www.goodreads.com/author/show/12673.xml?key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:22:26 DEBUG CacheHandler: Storing XML for http://www.goodreads.com/api/author_url/Andy%20McNab?key=ckvsiSDsuqh7omh74ZZ6Q 2016-08-31 15:22:26 DEBUG Searching for author with name: Andy McNab 2016-08-31 15:22:26 DEBUG Now adding new author: Andy McNab to database

philborman commented 8 years ago

Ah, that's helpful. Problem seems to be page 1, there are 30 books in that page but we only grab 5 then we hit Traitor, which we think is already in the database, and skip to page 2

Two problems:

  1. is Traitor really in the database or are we mis-detecting it
  2. we shouldn't skip to next page early on a duplicate

In gr.py (and gb.py) there are a couple of "break" statements that need removing which causes the early skip to next page. I have removed these in the latest version.

The bigger problem is thinking Traitor is in the database when it (maybe) isn't bookid is supposed to be unique, much of the code relies on that.

Do you know how to access the sqlite database? If you do, can you run... select * from books where bookid="591822"
to see what other book has the same bookid?

BenBeyond commented 8 years ago

There is a book called Traitor in the DB with that bookid, which is co-authored by Robert Rigby and Andy McNab...

philborman commented 8 years ago

ok, so I think the latest update (removing the break statements) should fix it. Matching works purely on bookid, LL will skip over the new copy of "Traitor" and keep the joint-author one.

On 31/08/16 22:28, Ben wrote:

There is a book called Traitor in the DB with that bookid, which is co-authored by Robert Rigby and Andy McNab...

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/DobyTang/LazyLibrarian/issues/450#issuecomment-243890573, or mute the thread https://github.com/notifications/unsubscribe-auth/ALmHOcnpcc7XyqMuUxv-sEGLp0Pa7KJ8ks5qlePegaJpZM4Jx124.

BenBeyond commented 8 years ago

After Update, I was able to pull 24 more books, including the book i was trying to import, so all good now. Thanks a ton!

philborman commented 8 years ago

No worries :-)

Just added a bit more code so if you rescan metadata with calibre, the next LL libraryscan or authorscan will notice books have been moved and reset it's links to match. Haven't posted it yet, maybe tonight.

On 01/09/16 15:10, Ben wrote:

After Update, I was able to pull 24 more books, including the book i was trying to import, so all good now. Thanks a ton!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/DobyTang/LazyLibrarian/issues/450#issuecomment-244073595, or mute the thread https://github.com/notifications/unsubscribe-auth/ALmHOUMn_mlZyqOIDqsRKwf97ofnvIxwks5qls7GgaJpZM4Jx124.