MCPcopy Create free account
hub / github.com/EZ-hwh/AutoScraper / __iter__

Method __iter__

utils/html_utils.py:15–17  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

13 self.len_func = len_func
14
15 def __iter__(self):
16 if self.len_func(str(self.soup)) < self.step_len:
17 yield
18
19def find_common_ancestor(html_content:str, xpath:str):
20 try:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected