Quote:
Originally Posted by Keios
Can anyone add a piece of code to the recipe in order to potentially capture the comments from each article?
|
Try changing this:
Code:
keep_only_tags = [dict(name='div', attrs={'id':'js-article-text'})]
to this:
Code:
keep_only_tags = [dict(name='div', attrs={'id':['js-article-text','js-comments']})]