This script searches rekhta for the search term specified in the variable 'SEARCH_TERM' in index.js and creates a json file called nazms.json with hindi nazms from the first page of search results. Check out nazms_moon and nazms_water for example output.
npm install
node index.js