()
| 292 | """All found links on page, in as–is form.""" |
| 293 | |
| 294 | def gen(): |
| 295 | for link in self.find('a'): |
| 296 | |
| 297 | try: |
| 298 | href = link.attrs['href'].strip() |
| 299 | if href and not (href.startswith('#') and self.skip_anchors) and not href.startswith(('javascript:', 'mailto:')): |
| 300 | yield href |
| 301 | except KeyError: |
| 302 | pass |
| 303 | |
| 304 | return set(gen()) |
| 305 |
nothing calls this directly
no test coverage detected