News for hackers. Stuff that matters.
Re:Web Scraping Indeed for Key Data Science Job Skills by jefb on Monday March 30, 2015 @10:16AM (#9289631)

    for script in soup_obj(["script", "style"]):
            script.extract() # Only need these two elements from the BS4 object

That comment is a bit misleading. soup.extract() will remove those tags from the tree, 'script' and 'style' are the two tags you __don't__ need.

http://www.crummy.com/software/BeautifulSoup/bs4/doc/#extrac...

There are no comments on this comment yet.