MCPcopy Index your code
hub / github.com/pyload/pyload / handle_pages

Method handle_pages

module/plugins/internal/SimpleCrypter.py:256–268  ·  view source on GitHub ↗
(self, pyfile)

Source from the content-addressed store, hash-verified

254 raise NotImplementedError
255
256 def handle_pages(self, pyfile):
257 try:
258 pages = int(search_pattern(self.PAGES_PATTERN, self.data).group(1))
259
260 except Exception:
261 pages = 1
262
263 links = self.links
264 for p in range(2, pages + 1):
265 self.data = self.load_page(p)
266 links.extend(self.get_links())
267
268 self.links = links
269
270 def check_errors(self):
271 self.log_info(_("Checking for link errors..."))

Callers 1

decryptMethod · 0.95

Calls 4

load_pageMethod · 0.95
get_linksMethod · 0.95
search_patternFunction · 0.85
extendMethod · 0.80

Tested by

no test coverage detected