pyhn icon indicating copy to clipboard operation
pyhn copied to clipboard

HNapi for comments

Open toxinu opened this issue 12 years ago • 4 comments

Add comments parsing in the Api module. And think about tree display of comments in Pyhn.

toxinu avatar Jan 07 '13 13:01 toxinu

This would be a great addition!

ghost avatar Jan 11 '13 08:01 ghost

I think it's the more important missing feature.

toxinu avatar Jan 11 '13 08:01 toxinu

Agree. A quick look at the hnapi module showed that it doesn't scrape the comments content, am I right? Doesn't HN provide an API?

ghost avatar Jan 11 '13 09:01 ghost

Yes the hnapi module parse nothing about comments at this time. Like HN admins says, they provide an HTML format api... :sweat_smile:

So yes, HN doesn't provide any clean way to retrieve data. All the job already done by the hnapi module is html parsing with BeautifulSoup4 and the same job must be done for comments parsing.

toxinu avatar Jan 11 '13 09:01 toxinu