MCPcopy Create free account
hub / github.com/a4k-openproject/script.module.openscrapers / withClass

Function withClass

lib/pyparsing.py:5946–5982  ·  view source on GitHub ↗

Simplified version of :class:`withAttribute` when matching on a div class - made difficult because ``class`` is a reserved word in Python. Example:: html = ''' Some text 1 4 0 1 0 1

(classname, namespace='')

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

withAttributeFunction · 0.85

Tested by

no test coverage detected