Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get Books by Author/Keyword #194

Open
WEricBr opened this issue Feb 22, 2025 · 0 comments
Open

Get Books by Author/Keyword #194

WEricBr opened this issue Feb 22, 2025 · 0 comments

Comments

@WEricBr
Copy link

WEricBr commented Feb 22, 2025

I can generate a list of books for a specific author or keyword using the URL:
https://www.amazon.com/hz/mycd/digital-console/contentlist/booksAll/dateDsc/[Author/Keyword]

For Example, to get the Books by the Author J. Robert Kennedy I could use the URL:
https://www.amazon.com/hz/mycd/digital-console/contentlist/booksAll/dateDsc/j.%20robert%20kennedy

The only parsing needed is to replace space characters with the "%20" string.

It would be nice to have an --authorOrKeyword argument where one or more Authors/Keywords would be specified ( maybe a ; seperated list) and then just download the books matching the Author/Keyword. Even better would be to allow a file of Author names that could be read and processed for each Author (1 per line).

I looked at the file index.ts and see various option for fetchCriteria, but don't have a clue how to change the URL and Criteria to make this happen, even if I had to hard code the Author value each time before running it.

This would allow me to download the Authors that I absolutely want to download, and might get around some of the limits on the number of downloads that are possible.

Thanks,

Eric

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant