Better HN
topnewbestaskshowjobs
Log inSign up

bknarendra

6 karma · joined Apr 24, 2012 (14y ago) · 15 submissions

Submissions

comment 10y ago · link · parent

Yes if you see the code, I extract the JSON object from response by removing the for(;;); in the beginning and then parse the json to hash and flatten it to array of strings. As there is only 1 value that will have the html content, I found this by using some css selector of the content and then parse the html and used unique css selector class for the names of the users.