pyhn
pyhn copied to clipboard
HNapi for comments
Add comments parsing in the Api module. And think about tree display of comments in Pyhn.
This would be a great addition!
I think it's the more important missing feature.
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?
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.