Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/s/t/streamcorpus_pipeline-0.5.23.dev1/streamcorpus_pipeline/_clean_visible.py   streamcorpus_pipeline(Download)
import lxml.etree
 
from streamcorpus_pipeline._clean_html import drop_invalid_and_upper_utf8_chars
from streamcorpus_pipeline.stages import Configured
import yakonfig
                doc.text = si.body.clean_visible.decode('utf8')
            except ValueError:
                doc.text = drop_invalid_and_upper_utf8_chars(si.body.clean_visible.decode('utf8'))
            except Exception, exc:
                ## this should never ever fail, because if it does,