Quote:
Originally Posted by phiznlil
This works for me, much simpler than trying to remove everything
keep_only_tags = [dict(name='div', attrs={'class':'panel_content base_format'})]
|
If you have a working and complete recipe, it's helpful to post the entire recipe (in code and spoiler tags) along with your comment as to how it differs, or why it's better. That way someone reading this thread doesn't have to piece together parts of different posts/recipes if they want to use your recipe.