Get 5 reviews from Amazon and Goodreads
This commit is contained in:
committed by
Aditya Chandel
parent
a16fb3c1e1
commit
146b2572c3
+1
-1
@@ -32,7 +32,7 @@ import java.util.stream.Collectors;
|
||||
@AllArgsConstructor
|
||||
public class AmazonBookParser implements BookParser {
|
||||
|
||||
private static final int COUNT_DETAILED_METADATA_TO_GET = 3;
|
||||
private static final int COUNT_DETAILED_METADATA_TO_GET = 5;
|
||||
private static final String BASE_BOOK_URL = "https://www.amazon.com/dp/";
|
||||
private final AppSettingService appSettingService;
|
||||
|
||||
|
||||
+1
-1
@@ -37,7 +37,7 @@ public class GoodReadsParser implements BookParser {
|
||||
|
||||
private static final String BASE_SEARCH_URL = "https://www.goodreads.com/search?q=";
|
||||
private static final String BASE_BOOK_URL = "https://www.goodreads.com/book/show/";
|
||||
private static final int COUNT_DETAILED_METADATA_TO_GET = 3;
|
||||
private static final int COUNT_DETAILED_METADATA_TO_GET = 5;
|
||||
private final AppSettingService appSettingService;
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user