Skip to content
This repository has been archived by the owner on Mar 9, 2023. It is now read-only.

Latest commit

 

History

History
90 lines (62 loc) · 4.67 KB

search.md

File metadata and controls

90 lines (62 loc) · 4.67 KB

search.pl

Maintenance

Sort Goodreads search results by popularity or date published

From the Goodreads Feedback forum, Pawel (2010) or obsessedwithbooks (2013) or Sonja (2016) or Ferouk (2016) or David-Emmanuel (2017) or Halordain (2017) or Kevin (2018):

I am trying to explore and discover the best books. I am not looking for the most relevant book. Probably all the books that contain "Linux" in the title are relevant to what I'm looking for. I am not interested in a particular book's algorithmically-determined "relevance score" to my search query. I'm strictly interested in star ratings.

In addition to Em__Jay (2015) or Carri (2016) or G.H. (2016) or Epper (2016) or Shanna_redwind (2016) or Lisa (2017) or Jenna (2017) or SL (2018) or Mimi (2018) or Ian (2016):

I kind of wonder if I'm the only one who finds this annoying. If you search for a book and type in the title of the book, exact matches to what you type are rarely the first listed.

This

Screenshot

How to generate this on a GNU/Linux operating system

  1. Install the toolbox
  2. at the prompt, enter:
$ ./search.pl --help
$ ./search.pl YOURKEYWORD

Searching books:

 about..... YOURKEYWORD
 rated by.. 5 members or more
 order by.. stars, num_ratings, year
 progress.. 100%

Writing search result (N=275) to "./list-out/search-YOURKEYWORD.html"... 
Total time: 3 minutes

Observations and limitations

  • long runtime: Goodreads slows down all requests and we have to load a lot of data
  • start the program with defaults and re-run to fine-tune with parameters later (previously downloaded resources are reused so it's faster than the first run); you might not know how many ratings actually exists, if --ratings is too high you will not get any results (N=0)
  • garbage in, garbage out

Feedback

If you like this project, give it a star on GitHub. Report bugs or suggestions via GitHub or see the AUTHORS.md file.

See also