View Single Post
Old 09-17-2010, 04:57 PM   #3
krunk
Member
krunk began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Feb 2010
Location: Los Angeles, CA
Device: Kindle 3
Quote:
Originally Posted by Starson17 View Post
It looks to me like this won't remove what you want. The tag with class 'addtoany_share_save_container' is a <div> tag, not an <a> tag. I'm not sure if you want the <div> or the <a>, but the class has to be in the tag you're removing, and the <a> tag has class '"a2a_dd addtoany_share_save"

BTW, usually the recipe discussions go on in the Custom Recipe thread: https://www.mobileread.com/forums/sho...32543&page=183
It's inhabited by all the recipe junkies.
Oops, that's a typo. I corrected it. The key is that the div appears in the html, but does not appear in the soup passed to preprocess_html().

I'll check that thread, things tend to get lost in epic threads though.
krunk is offline   Reply With Quote