The rationale for this is to develop a working way to quickly scour through the thousands of posts per thread on each Nairaland thread, and sift out the posts with the highest number of "likes", which is actually the most efficient way of determining the posts that resonated with the readers most. I was tired of reading through hundreds of pages on each thread to get to the important stuff, so I wanted a way to cut to the chase.
- In theory, the code should work on any Nairaland thread. I test ran it on this and that thread and it works just fine
- Code is written in ruby. Gems used include Nokogiri and Httparty
- You can run on the commandline on a ruby environment
- The scrapped result is written to PDF using Prawn.
- You can clone the repo and make any further modifications you deem fit to the code.