Static Public Attributes | |
ALL_ENTITIES = XHTML_ENTITIES | |
string | HTML_ENTITIES = "html" |
list | MARKUP_MASSAGE |
dictionary | NESTABLE_TAGS = {} |
list | PRESERVE_WHITESPACE_TAGS = [] |
dictionary | QUOTE_TAGS = {} |
dictionary | RESET_NESTING_TAGS = {} |
string | ROOT_TAG_NAME = u'[document]' |
dictionary | SELF_CLOSING_TAGS = {} |
dictionary | STRIP_ASCII_SPACES = { 9: None, 10: None, 12: None, 13: None, 32: None, } |
string | XHTML_ENTITIES = "xhtml" |
string | XML_ENTITIES = "xml" |
Static Public Attributes inherited from BeautifulSoup.PageElement | |
fetchNextSiblings = findNextSiblings | |
fetchParents = findParents | |
fetchPrevious = findAllPrevious | |
fetchPreviousSiblings = findPreviousSiblings | |
Private Member Functions | |
def | _feed |
def | _feed |
def | _popToTag |
def | _popToTag |
def | _smartPop |
def | _smartPop |
This class contains the basic parser and search code. It defines a parser that knows nothing about tag behavior except for the following: You can't close a tag without closing all the tags it encloses. That is, "<foo><bar></foo>" actually means "<foo><bar></bar></foo>". [Another possible explanation is "<foo><bar /></foo>", but since this class defines no SELF_CLOSING_TAGS, it will never use that explanation.] This class is useful for parsing XML or made-up markup languages, or when BeautifulSoup makes an assumption counter to what you were expecting.
Definition at line 1120 of file BeautifulSoup.py.
def BeautifulSoup.BeautifulStoneSoup.__init__ | ( | self, | |
markup = "" , |
|||
parseOnlyThese = None , |
|||
fromEncoding = None , |
|||
markupMassage = True , |
|||
smartQuotesTo = XML_ENTITIES , |
|||
convertEntities = None , |
|||
selfClosingTags = None , |
|||
isHTML = False , |
|||
builder = HTMLParserBuilder |
|||
) |
The Soup object is initialized as the 'root tag', and the provided markup (which can be a string or a file-like object) is fed into the underlying parser. HTMLParser will process most bad HTML, and the BeautifulSoup class has some tricks for dealing with some HTML that kills HTMLParser, but Beautiful Soup can nonetheless choke or lose data if your data uses self-closing tags or declarations incorrectly. By default, Beautiful Soup uses regexes to sanitize input, avoiding the vast majority of these problems. If the problems don't apply to you, pass in False for markupMassage, and you'll get better performance. The default parser massage techniques fix the two most common instances of invalid HTML that choke HTMLParser: <br/> (No space between name of closing tag and tag close) <! --Comment--> (Extraneous whitespace in declaration) You can pass in a custom list of (RE object, replace method) tuples to get Beautiful Soup to scrub your input the way you want.
Definition at line 1167 of file BeautifulSoup.py.
def BeautifulSoup.BeautifulStoneSoup.__init__ | ( | self, | |
markup = "" , |
|||
parseOnlyThese = None , |
|||
fromEncoding = None , |
|||
markupMassage = True , |
|||
smartQuotesTo = XML_ENTITIES , |
|||
convertEntities = None , |
|||
selfClosingTags = None , |
|||
isHTML = False , |
|||
builder = HTMLParserBuilder |
|||
) |
The Soup object is initialized as the 'root tag', and the provided markup (which can be a string or a file-like object) is fed into the underlying parser. HTMLParser will process most bad HTML, and the BeautifulSoup class has some tricks for dealing with some HTML that kills HTMLParser, but Beautiful Soup can nonetheless choke or lose data if your data uses self-closing tags or declarations incorrectly. By default, Beautiful Soup uses regexes to sanitize input, avoiding the vast majority of these problems. If the problems don't apply to you, pass in False for markupMassage, and you'll get better performance. The default parser massage techniques fix the two most common instances of invalid HTML that choke HTMLParser: <br/> (No space between name of closing tag and tag close) <! --Comment--> (Extraneous whitespace in declaration) You can pass in a custom list of (RE object, replace method) tuples to get Beautiful Soup to scrub your input the way you want.
Definition at line 1167 of file BeautifulSoup.py.
References BeautifulSoup.BeautifulStoneSoup._feed(), BeautifulSoup.BeautifulStoneSoup.builder, BeautifulSoup.buildTagMap(), BeautifulSoup.BeautifulStoneSoup.convertEntities, BeautifulSoup.BeautifulStoneSoup.convertHTMLEntities, BeautifulSoup.BeautifulStoneSoup.convertXMLEntities, BeautifulSoup.BeautifulStoneSoup.escapeUnrecognizedEntities, BeautifulSoup.BeautifulStoneSoup.fromEncoding, BeautifulSoup.BeautifulStoneSoup.HTML_ENTITIES, BeautifulSoup.BeautifulStoneSoup.instanceSelfClosingTags, BeautifulSoup.BeautifulStoneSoup.markup, BeautifulSoup.BeautifulStoneSoup.markupMassage, BeautifulSoup.BeautifulStoneSoup.parseOnlyThese, SiPixelCalibDigi.reset(), BinningPointByMap.reset(), TPedResult.reset(), ora::NamedReference.reset(), pftools::CaloBox.reset(), AlcaBeamSpotManager.reset(), MatrixReader.MatrixReader.reset(), ora::IRelationalOperation.reset(), ApvLatencyAnalysis.reset(), pftools::CalibrationResultWrapper.reset(), ora::Handle< T >.reset(), ora::IteratorBuffer.reset(), TB06Tree.reset(), EcalCondHeader.reset(), VEcalCalibBlock.reset(), cond::BaseValueExtractor< T >.reset(), pftools::CaloRing.reset(), ora::ContainerIterator.reset(), L1MonitorDigi.reset(), SamplingAnalysis.reset(), CondIter< DataT >.reset(), edm::ProductID.reset(), ora::OId.reset(), pftools::CalibratableElement.reset(), edm::ProcessConfiguration::Transients.reset(), IMACalibBlock.reset(), edm::BranchMapper.reset(), edm::HLTGlobalStatus.reset(), DaqScopeModeAnalysis.reset(), L3CalibBlock.reset(), ora::MultiRecordInsertOperation.reset(), FedTimingAnalysis.reset(), edm::Parentage::Transients.reset(), pos::PixelROCStatus.reset(), edm::WrapperOwningHolder.reset(), L1DataEmulDigi.reset(), L1MuDTTFParameters.reset(), L1MuDTTFMasks.reset(), L1MuGMTReadoutCollection.reset(), TB06TreeH2.reset(), L1MuDTPhiLut.reset(), L1MuDTPtaLut.reset(), edm::Hash< I >.reset(), edm::ProductProvenance::Transients.reset(), BlockWipedAllocator::LocalCache.reset(), L1MuDTEtaPatternLut.reset(), pftools::CaloEllipse.reset(), FedCablingAnalysis.reset(), L1MuGMTReadoutRecord.reset(), L1MuDTQualPatternLut.reset(), PhysicsTools::Calibration::Histogram< Value_t, Axis_t >.reset(), reco::PFCluster.reset(), edm::HLTPathStatus.reset(), PedsOnlyAnalysis.reset(), reco::CaloCluster.reset(), L1MuGMTCand.reset(), L1MuDTExtLut.reset(), PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >.reset(), edm::TransientProductLookupMap.reset(), graphwalker< N, E >.reset(), VpspScanAnalysis.reset(), edm::EventTime.reset(), L1MuGMTExtendedCand.reset(), TB06Reco.reset(), coral_bridge::AuthenticationCredentialSet.reset(), PedestalsAnalysis.reset(), NoiseAnalysis.reset(), OptoScanAnalysis.reset(), GltDEDigi.reset(), PhysicsTools::Calibration::Histogram3D< Value_t, AxisX_t, AxisY_t, AxisZ_t >.reset(), TrackerMap.reset(), DDFilteredView.reset(), ApvTimingAnalysis.reset(), CalibrationAnalysis.reset(), FastFedCablingAnalysis.reset(), PedsFullNoiseAnalysis.reset(), ora::UniqueRef< T >.reset(), edm::ProcessHistory::Transients.reset(), edm::WrapperHolder.reset(), pat::eventhypothesis::Looper< T >.reset(), L1CaloMipQuietRegion.reset(), pftools::CandidateWrapper.reset(), CommissioningAnalysis.reset(), ora::InsertOperation.reset(), L1CaloRegion.reset(), ora::Ptr< T >.reset(), DDExpandedView.reset(), edm::BranchDescription::Transients.reset(), TB06RecoH2.reset(), ora::BulkInsertOperation.reset(), cond::XMLAuthenticationService::XMLAuthenticationService.reset(), L1GlobalTriggerObjectMap.reset(), edm::FileIndex::Transients.reset(), L1GlobalTriggerRecord.reset(), L1GlobalTriggerEvmReadoutRecord.reset(), pftools::CaloWindow.reset(), ora::UpdateOperation.reset(), pftools::Calibratable.reset(), edm::ProductRegistry::Transients.reset(), L1GtfeExtWord.reset(), ora::DeleteOperation.reset(), L1MuRegionalCand.reset(), L1GlobalTriggerReadoutRecord.reset(), LocalCache< T >.reset(), L1GtPsbWord.reset(), DTTFBitArray< N >.reset(), L1GtfeWord.reset(), ora::QueryableVector< Tp >.reset(), L1TcsWord.reset(), L1GtFdlWord.reset(), edm::IndexIntoFile::Transients.reset(), BeautifulSoup.BeautifulStoneSoup.reset(), BeautifulSoup.BeautifulStoneSoup.smartQuotesTo, BeautifulSoup.BeautifulStoneSoup.XHTML_ENTITIES, and BeautifulSoup.BeautifulStoneSoup.XML_ENTITIES.
|
private |
Definition at line 1236 of file BeautifulSoup.py.
References BeautifulSoup.BeautifulStoneSoup.markup.
Referenced by BeautifulSoup.BeautifulStoneSoup.__init__(), BeautifulSoup.BeautifulStoneSoup._feed(), and BeautifulSoup.BeautifulSoup.extractCharsetFromMeta().
|
private |
Definition at line 1236 of file BeautifulSoup.py.
References BeautifulSoup.BeautifulStoneSoup._feed(), BeautifulSoup.BeautifulStoneSoup.declaredHTMLEncoding, BeautifulSoup.BeautifulStoneSoup.endData(), BeautifulSoup.BeautifulStoneSoup.fromEncoding, BeautifulSoup.isList(), BeautifulSoup.BeautifulStoneSoup.markup, BeautifulSoup.BeautifulStoneSoup.MARKUP_MASSAGE, BeautifulSoup.BeautifulStoneSoup.markupMassage, BeautifulSoup.BeautifulStoneSoup.originalEncoding, BeautifulSoup.BeautifulStoneSoup.popTag(), BeautifulSoup.BeautifulStoneSoup.ROOT_TAG_NAME, and BeautifulSoup.BeautifulStoneSoup.smartQuotesTo.
Pops the tag stack up to and including the most recent instance of the given tag. If inclusivePop is false, pops the tag stack up to but *not* including the most recent instqance of the given tag.
Definition at line 1329 of file BeautifulSoup.py.
References BeautifulSoup.BeautifulStoneSoup._popToTag(), BeautifulSoup.BeautifulStoneSoup.popTag(), BeautifulSoup.BeautifulStoneSoup.ROOT_TAG_NAME, and BeautifulSoup.BeautifulStoneSoup.tagStack.
Pops the tag stack up to and including the most recent instance of the given tag. If inclusivePop is false, pops the tag stack up to but *not* including the most recent instqance of the given tag.
Definition at line 1329 of file BeautifulSoup.py.
References BeautifulSoup.BeautifulStoneSoup.popTag(), BeautifulSoup.BeautifulStoneSoup.ROOT_TAG_NAME, and BeautifulSoup.BeautifulStoneSoup.tagStack.
Referenced by BeautifulSoup.BeautifulStoneSoup._popToTag(), BeautifulSoup.BeautifulStoneSoup._smartPop(), and BeautifulSoup.BeautifulStoneSoup.unknown_endtag().
|
private |
We need to pop up to the previous tag of this type, unless one of this tag's nesting reset triggers comes between this tag and the previous tag of this type, OR unless this tag is a generic nesting trigger and another generic nesting trigger comes between this tag and the previous tag of this type. Examples: <p>Foo<b>Bar *<p>* should pop to 'p', not 'b'. <p>Foo<table>Bar *<p>* should pop to 'table', not 'p'. <p>Foo<table><tr>Bar *<p>* should pop to 'tr', not 'p'. <li><ul><li> *<li>* should pop to 'ul', not the first 'li'. <tr><table><tr> *<tr>* should pop to 'table', not the first 'tr' <td><tr><td> *<td>* should pop to 'tr', not the first 'td'
Definition at line 1351 of file BeautifulSoup.py.
References BeautifulSoup.BeautifulStoneSoup._popToTag(), and BeautifulSoup.BeautifulStoneSoup.tagStack.
Referenced by BeautifulSoup.BeautifulStoneSoup._smartPop(), and BeautifulSoup.BeautifulStoneSoup.unknown_starttag().
|
private |
We need to pop up to the previous tag of this type, unless one of this tag's nesting reset triggers comes between this tag and the previous tag of this type, OR unless this tag is a generic nesting trigger and another generic nesting trigger comes between this tag and the previous tag of this type. Examples: <p>Foo<b>Bar *<p>* should pop to 'p', not 'b'. <p>Foo<table>Bar *<p>* should pop to 'table', not 'p'. <p>Foo<table><tr>Bar *<p>* should pop to 'tr', not 'p'. <li><ul><li> *<li>* should pop to 'ul', not the first 'li'. <tr><table><tr> *<tr>* should pop to 'table', not the first 'tr' <td><tr><td> *<td>* should pop to 'tr', not the first 'td'
Definition at line 1351 of file BeautifulSoup.py.
References BeautifulSoup.BeautifulStoneSoup._popToTag(), BeautifulSoup.BeautifulStoneSoup._smartPop(), and BeautifulSoup.BeautifulStoneSoup.tagStack.
def BeautifulSoup.BeautifulStoneSoup.endData | ( | self, | |
containerClass = NavigableString |
|||
) |
Definition at line 1306 of file BeautifulSoup.py.
References BeautifulSoup.BeautifulStoneSoup.currentData, BeautifulSoup.BeautifulStoneSoup.currentTag, BeautifulSoup.BeautifulStoneSoup.endData(), reco::helper::VirtualJetProducerHelper.intersection(), join(), BeautifulSoup.BeautifulStoneSoup.parseOnlyThese, BeautifulSoup.BeautifulStoneSoup.PRESERVE_WHITESPACE_TAGS, BeautifulSoup.PageElement.previous, runtimedef.set(), BeautifulSoup.BeautifulStoneSoup.STRIP_ASCII_SPACES, and BeautifulSoup.BeautifulStoneSoup.tagStack.
def BeautifulSoup.BeautifulStoneSoup.endData | ( | self, | |
containerClass = NavigableString |
|||
) |
Definition at line 1306 of file BeautifulSoup.py.
References BeautifulSoup.BeautifulStoneSoup.currentData, BeautifulSoup.BeautifulStoneSoup.currentTag, reco::helper::VirtualJetProducerHelper.intersection(), join(), BeautifulSoup.BeautifulStoneSoup.parseOnlyThese, BeautifulSoup.BeautifulStoneSoup.PRESERVE_WHITESPACE_TAGS, BeautifulSoup.PageElement.previous, runtimedef.set(), BeautifulSoup.BeautifulStoneSoup.STRIP_ASCII_SPACES, and BeautifulSoup.BeautifulStoneSoup.tagStack.
Referenced by BeautifulSoup.BeautifulStoneSoup._feed(), BeautifulSoup.BeautifulStoneSoup.endData(), BeautifulSoup.BeautifulStoneSoup.unknown_endtag(), and BeautifulSoup.BeautifulStoneSoup.unknown_starttag().
def BeautifulSoup.BeautifulStoneSoup.extractCharsetFromMeta | ( | self, | |
attrs | |||
) |
Definition at line 1443 of file BeautifulSoup.py.
References BeautifulSoup.BeautifulStoneSoup.extractCharsetFromMeta(), and BeautifulSoup.BeautifulStoneSoup.unknown_starttag().
def BeautifulSoup.BeautifulStoneSoup.extractCharsetFromMeta | ( | self, | |
attrs | |||
) |
Definition at line 1443 of file BeautifulSoup.py.
References BeautifulSoup.BeautifulStoneSoup.unknown_starttag().
Referenced by BeautifulSoup.BeautifulStoneSoup.extractCharsetFromMeta().
def BeautifulSoup.BeautifulStoneSoup.handle_data | ( | self, | |
data | |||
) |
Definition at line 1440 of file BeautifulSoup.py.
Referenced by BeautifulSoup.BeautifulStoneSoup.handle_data(), BeautifulSoup.BeautifulStoneSoup.unknown_endtag(), and BeautifulSoup.BeautifulStoneSoup.unknown_starttag().
def BeautifulSoup.BeautifulStoneSoup.handle_data | ( | self, | |
data | |||
) |
Definition at line 1440 of file BeautifulSoup.py.
References BeautifulSoup.BeautifulStoneSoup.handle_data().
def BeautifulSoup.BeautifulStoneSoup.isSelfClosingTag | ( | self, | |
name | |||
) |
Returns true iff the given string is the name of a self-closing tag according to this parser.
Definition at line 1269 of file BeautifulSoup.py.
Referenced by BeautifulSoup.BeautifulStoneSoup.isSelfClosingTag(), and BeautifulSoup.BeautifulStoneSoup.unknown_starttag().
def BeautifulSoup.BeautifulStoneSoup.isSelfClosingTag | ( | self, | |
name | |||
) |
Returns true iff the given string is the name of a self-closing tag according to this parser.
Definition at line 1269 of file BeautifulSoup.py.
References BeautifulSoup.BeautifulStoneSoup.isSelfClosingTag().
def BeautifulSoup.BeautifulStoneSoup.popTag | ( | self | ) |
Definition at line 1285 of file BeautifulSoup.py.
References BeautifulSoup.BeautifulStoneSoup.currentTag, and BeautifulSoup.BeautifulStoneSoup.tagStack.
Referenced by BeautifulSoup.BeautifulStoneSoup._feed(), BeautifulSoup.BeautifulStoneSoup._popToTag(), BeautifulSoup.BeautifulStoneSoup.popTag(), and BeautifulSoup.BeautifulStoneSoup.unknown_starttag().
def BeautifulSoup.BeautifulStoneSoup.popTag | ( | self | ) |
Definition at line 1285 of file BeautifulSoup.py.
References BeautifulSoup.BeautifulStoneSoup.currentTag, BeautifulSoup.BeautifulStoneSoup.popTag(), and BeautifulSoup.BeautifulStoneSoup.tagStack.
def BeautifulSoup.BeautifulStoneSoup.pushTag | ( | self, | |
tag | |||
) |
Definition at line 1299 of file BeautifulSoup.py.
References BeautifulSoup.BeautifulStoneSoup.currentTag, and BeautifulSoup.BeautifulStoneSoup.tagStack.
Referenced by BeautifulSoup.BeautifulStoneSoup.pushTag(), BeautifulSoup.BeautifulStoneSoup.reset(), and BeautifulSoup.BeautifulStoneSoup.unknown_starttag().
def BeautifulSoup.BeautifulStoneSoup.pushTag | ( | self, | |
tag | |||
) |
Definition at line 1299 of file BeautifulSoup.py.
References BeautifulSoup.BeautifulStoneSoup.currentTag, BeautifulSoup.BeautifulStoneSoup.pushTag(), and BeautifulSoup.BeautifulStoneSoup.tagStack.
def BeautifulSoup.BeautifulStoneSoup.reset | ( | self | ) |
Definition at line 1275 of file BeautifulSoup.py.
References BeautifulSoup.BeautifulStoneSoup.currentData, BeautifulSoup.BeautifulStoneSoup.currentTag, BeautifulSoup.BeautifulStoneSoup.hidden, BeautifulSoup.BeautifulStoneSoup.pushTag(), BeautifulSoup.BeautifulStoneSoup.quoteStack, BeautifulSoup.BeautifulStoneSoup.reset(), BeautifulSoup.BeautifulStoneSoup.ROOT_TAG_NAME, and BeautifulSoup.BeautifulStoneSoup.tagStack.
def BeautifulSoup.BeautifulStoneSoup.reset | ( | self | ) |
Definition at line 1275 of file BeautifulSoup.py.
References BeautifulSoup.BeautifulStoneSoup.ROOT_TAG_NAME.
Referenced by BeautifulSoup.BeautifulStoneSoup.__init__(), and BeautifulSoup.BeautifulStoneSoup.reset().
def BeautifulSoup.BeautifulStoneSoup.unknown_endtag | ( | self, | |
name | |||
) |
Definition at line 1427 of file BeautifulSoup.py.
References BeautifulSoup.BeautifulStoneSoup._popToTag(), BeautifulSoup.BeautifulStoneSoup.endData(), BeautifulSoup.HTMLParserBuilder.handle_data(), BeautifulSoup.BeautifulStoneSoup.handle_data(), BeautifulSoup.BeautifulStoneSoup.literal, BeautifulSoup.BeautifulStoneSoup.quoteStack, and BeautifulSoup.BeautifulStoneSoup.unknown_endtag().
def BeautifulSoup.BeautifulStoneSoup.unknown_endtag | ( | self, | |
name | |||
) |
Definition at line 1427 of file BeautifulSoup.py.
References BeautifulSoup.BeautifulStoneSoup._popToTag(), BeautifulSoup.BeautifulStoneSoup.endData(), BeautifulSoup.HTMLParserBuilder.handle_data(), BeautifulSoup.BeautifulStoneSoup.handle_data(), BeautifulSoup.BeautifulStoneSoup.literal, and BeautifulSoup.BeautifulStoneSoup.quoteStack.
Referenced by BeautifulSoup.BeautifulStoneSoup.unknown_endtag().
def BeautifulSoup.BeautifulStoneSoup.unknown_starttag | ( | self, | |
name, | |||
attrs, | |||
selfClosing = 0 |
|||
) |
Definition at line 1397 of file BeautifulSoup.py.
References BeautifulSoup.BeautifulStoneSoup._smartPop(), BeautifulSoup.BeautifulStoneSoup.currentTag, BeautifulSoup.BeautifulStoneSoup.endData(), BeautifulSoup.HTMLParserBuilder.handle_data(), BeautifulSoup.BeautifulStoneSoup.handle_data(), BeautifulSoup.BeautifulStoneSoup.isSelfClosingTag(), join(), BeautifulSoup.BeautifulStoneSoup.literal, Association.map, BeautifulSoup.BeautifulStoneSoup.parseOnlyThese, BeautifulSoup.BeautifulStoneSoup.popTag(), BeautifulSoup.PageElement.previous, BeautifulSoup.BeautifulStoneSoup.pushTag(), BeautifulSoup.BeautifulStoneSoup.QUOTE_TAGS, BeautifulSoup.BeautifulStoneSoup.quoteStack, BeautifulSoup.BeautifulStoneSoup.tagStack, and BeautifulSoup.BeautifulStoneSoup.unknown_starttag().
def BeautifulSoup.BeautifulStoneSoup.unknown_starttag | ( | self, | |
name, | |||
attrs, | |||
selfClosing = 0 |
|||
) |
Definition at line 1397 of file BeautifulSoup.py.
References BeautifulSoup.BeautifulStoneSoup._smartPop(), BeautifulSoup.BeautifulStoneSoup.currentTag, BeautifulSoup.BeautifulStoneSoup.endData(), BeautifulSoup.HTMLParserBuilder.handle_data(), BeautifulSoup.BeautifulStoneSoup.handle_data(), BeautifulSoup.BeautifulStoneSoup.isSelfClosingTag(), join(), Association.map, BeautifulSoup.BeautifulStoneSoup.parseOnlyThese, BeautifulSoup.BeautifulStoneSoup.popTag(), BeautifulSoup.PageElement.previous, BeautifulSoup.BeautifulStoneSoup.pushTag(), BeautifulSoup.BeautifulStoneSoup.QUOTE_TAGS, BeautifulSoup.BeautifulStoneSoup.quoteStack, and BeautifulSoup.BeautifulStoneSoup.tagStack.
Referenced by BeautifulSoup.BeautifulStoneSoup.extractCharsetFromMeta(), BeautifulSoup.BeautifulSoup.extractCharsetFromMeta(), and BeautifulSoup.BeautifulStoneSoup.unknown_starttag().
|
static |
Definition at line 1156 of file BeautifulSoup.py.
BeautifulSoup.BeautifulStoneSoup.builder |
Definition at line 1222 of file BeautifulSoup.py.
Referenced by BeautifulSoup.BeautifulStoneSoup.__init__().
BeautifulSoup.BeautifulStoneSoup.convertEntities |
Definition at line 1196 of file BeautifulSoup.py.
Referenced by BeautifulSoup.BeautifulStoneSoup.__init__().
BeautifulSoup.BeautifulStoneSoup.convertHTMLEntities |
Definition at line 1206 of file BeautifulSoup.py.
Referenced by BeautifulSoup.BeautifulStoneSoup.__init__(), and BeautifulSoup.Tag._invert().
BeautifulSoup.BeautifulStoneSoup.convertXMLEntities |
Definition at line 1205 of file BeautifulSoup.py.
Referenced by BeautifulSoup.BeautifulStoneSoup.__init__(), and BeautifulSoup.Tag._invert().
BeautifulSoup.BeautifulStoneSoup.currentData |
Definition at line 1279 of file BeautifulSoup.py.
Referenced by BeautifulSoup.BeautifulStoneSoup.endData(), and BeautifulSoup.BeautifulStoneSoup.reset().
BeautifulSoup.BeautifulStoneSoup.currentTag |
BeautifulSoup.BeautifulStoneSoup.declaredHTMLEncoding |
Definition at line 1248 of file BeautifulSoup.py.
Referenced by BeautifulSoup.UnicodeDammit.__init__(), BeautifulSoup.UnicodeDammit._detectEncoding(), BeautifulSoup.BeautifulStoneSoup._feed(), and BeautifulSoup.BeautifulSoup.extractCharsetFromMeta().
BeautifulSoup.BeautifulStoneSoup.escapeUnrecognizedEntities |
Definition at line 1207 of file BeautifulSoup.py.
Referenced by BeautifulSoup.BeautifulStoneSoup.__init__(), and BeautifulSoup.Tag._invert().
BeautifulSoup.BeautifulStoneSoup.fromEncoding |
Definition at line 1194 of file BeautifulSoup.py.
Referenced by BeautifulSoup.BeautifulStoneSoup.__init__(), BeautifulSoup.BeautifulStoneSoup._feed(), and BeautifulSoup.BeautifulSoup.extractCharsetFromMeta().
BeautifulSoup.BeautifulStoneSoup.hidden |
Definition at line 1277 of file BeautifulSoup.py.
Referenced by BeautifulSoup.Tag._invert(), and BeautifulSoup.BeautifulStoneSoup.reset().
|
static |
Definition at line 1152 of file BeautifulSoup.py.
Referenced by BeautifulSoup.BeautifulStoneSoup.__init__(), and BeautifulSoup.BeautifulSoup.__init__().
BeautifulSoup.BeautifulStoneSoup.instanceSelfClosingTags |
Definition at line 1221 of file BeautifulSoup.py.
Referenced by BeautifulSoup.BeautifulStoneSoup.__init__().
BeautifulSoup.BeautifulStoneSoup.literal |
Definition at line 1424 of file BeautifulSoup.py.
Referenced by BeautifulSoup.BeautifulStoneSoup.unknown_endtag(), and BeautifulSoup.BeautifulStoneSoup.unknown_starttag().
BeautifulSoup.BeautifulStoneSoup.markup |
Definition at line 1227 of file BeautifulSoup.py.
Referenced by BeautifulSoup.BeautifulStoneSoup.__init__(), BeautifulSoup.UnicodeDammit.__init__(), BeautifulSoup.UnicodeDammit._convertFrom(), and BeautifulSoup.BeautifulStoneSoup._feed().
|
static |
Definition at line 1144 of file BeautifulSoup.py.
Referenced by BeautifulSoup.BeautifulStoneSoup._feed().
BeautifulSoup.BeautifulStoneSoup.markupMassage |
Definition at line 1228 of file BeautifulSoup.py.
Referenced by BeautifulSoup.BeautifulStoneSoup.__init__(), and BeautifulSoup.BeautifulStoneSoup._feed().
|
static |
Definition at line 1139 of file BeautifulSoup.py.
BeautifulSoup.BeautifulStoneSoup.originalEncoding |
Definition at line 1241 of file BeautifulSoup.py.
Referenced by BeautifulSoup.UnicodeDammit.__init__(), BeautifulSoup.UnicodeDammit._convertFrom(), BeautifulSoup.BeautifulStoneSoup._feed(), and BeautifulSoup.BeautifulSoup.extractCharsetFromMeta().
BeautifulSoup.BeautifulStoneSoup.parseOnlyThese |
Definition at line 1193 of file BeautifulSoup.py.
Referenced by BeautifulSoup.BeautifulStoneSoup.__init__(), BeautifulSoup.BeautifulStoneSoup.endData(), and BeautifulSoup.BeautifulStoneSoup.unknown_starttag().
|
static |
Definition at line 1142 of file BeautifulSoup.py.
Referenced by BeautifulSoup.BeautifulStoneSoup.endData().
BeautifulSoup.BeautifulStoneSoup.previous |
Definition at line 1325 of file BeautifulSoup.py.
|
static |
Definition at line 1141 of file BeautifulSoup.py.
Referenced by BeautifulSoup.BeautifulStoneSoup.unknown_starttag().
BeautifulSoup.BeautifulStoneSoup.quoteStack |
Definition at line 1282 of file BeautifulSoup.py.
Referenced by BeautifulSoup.BeautifulStoneSoup.reset(), BeautifulSoup.BeautifulStoneSoup.unknown_endtag(), and BeautifulSoup.BeautifulStoneSoup.unknown_starttag().
|
static |
Definition at line 1140 of file BeautifulSoup.py.
|
static |
Definition at line 1150 of file BeautifulSoup.py.
Referenced by BeautifulSoup.BeautifulStoneSoup._feed(), BeautifulSoup.BeautifulStoneSoup._popToTag(), and BeautifulSoup.BeautifulStoneSoup.reset().
|
static |
Definition at line 1138 of file BeautifulSoup.py.
BeautifulSoup.BeautifulStoneSoup.smartQuotesTo |
Definition at line 1195 of file BeautifulSoup.py.
Referenced by BeautifulSoup.BeautifulStoneSoup.__init__(), BeautifulSoup.UnicodeDammit.__init__(), BeautifulSoup.UnicodeDammit._convertFrom(), BeautifulSoup.BeautifulStoneSoup._feed(), and BeautifulSoup.UnicodeDammit._subMSChar().
|
static |
Definition at line 1162 of file BeautifulSoup.py.
Referenced by BeautifulSoup.BeautifulStoneSoup.endData().
BeautifulSoup.BeautifulStoneSoup.tagStack |
Definition at line 1281 of file BeautifulSoup.py.
Referenced by BeautifulSoup.BeautifulStoneSoup._popToTag(), BeautifulSoup.BeautifulStoneSoup._smartPop(), BeautifulSoup.BeautifulStoneSoup.endData(), BeautifulSoup.BeautifulStoneSoup.popTag(), BeautifulSoup.BeautifulSOAP.popTag(), BeautifulSoup.BeautifulStoneSoup.pushTag(), BeautifulSoup.BeautifulStoneSoup.reset(), and BeautifulSoup.BeautifulStoneSoup.unknown_starttag().
|
static |
Definition at line 1154 of file BeautifulSoup.py.
Referenced by BeautifulSoup.BeautifulStoneSoup.__init__().
|
static |
Definition at line 1153 of file BeautifulSoup.py.
Referenced by BeautifulSoup.BeautifulStoneSoup.__init__().