MCPcopy Create free account
hub / github.com/clips/pattern / _start_enclosure

Method _start_enclosure

pattern/web/feed/feedparser.py:1673–1677  ·  view source on GitHub ↗
(self, attrsD)

Source from the content-addressed store, hash-verified

1671 _end_itunes_summary = _end_summary
1672
1673 def _start_enclosure(self, attrsD):
1674 attrsD = self._itsAnHrefDamnIt(attrsD)
1675 context = self._getContext()
1676 attrsD['rel'] = u'enclosure'
1677 context.setdefault('links', []).append(FeedParserDict(attrsD))
1678
1679 def _start_source(self, attrsD):
1680 if 'url' in attrsD:

Callers 1

popMethod · 0.95

Calls 5

_itsAnHrefDamnItMethod · 0.95
_getContextMethod · 0.95
FeedParserDictClass · 0.85
appendMethod · 0.45
setdefaultMethod · 0.45

Tested by

no test coverage detected