Re:Hacker News Highlights, August to November 2018
by huangc10 on Tuesday December 04, 2018 @05:46PM
(#18604231)
Not that I'm for screen shot, I imagine they wrote a quick script that went through a list of links to the comment and produced the screenshot (which also resized the height of the window to fit the full comment).
The script probably utilized an integration with a screen capture library. I'd imagine someone can write a script to parse html and dig out the comment, but the screen capture script was probably faster to write.
A slower method would be to copy and paste the text by hand...
Re:Hacker News Highlights, August to November 2018
by saagarjha on Tuesday December 04, 2018 @07:02PM
(#18604650)
Gee, if only Hacker News had an API to extract the text and associated metadata from a comment, so that it could be presented in a textual way rather than as an image…
The script probably utilized an integration with a screen capture library. I'd imagine someone can write a script to parse html and dig out the comment, but the screen capture script was probably faster to write.
A slower method would be to copy and paste the text by hand...