View Single Post
Old 09-03-2022, 11:51 PM   #1
buzzbros2002
Junior Member
buzzbros2002 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jun 2015
Device: PC
Dark Reading Recipe fix

Excuse me if this is the wrong way to go about this, but I noticed a recipe is dead and I've gone about to write up a fix for it. It's just that the keep only tags bit needed to be changed up. It should be this now which gets it to work.

keep_only_tags = [dict(attrs=['article-content', 'heading'])]

I see people adding recipes as attachments or just posting the github link it's referring to, and I wasn't sure which to go about or if I should just do a pull request on github directly. Anyways, I hope this helps, and thanks for all you do.

https://github.com/kovidgoyal/calibr...reading.recipe
buzzbros2002 is offline   Reply With Quote