(self, pyfile)
| 147 | self.__class__.__name__ = class_name |
| 148 | |
| 149 | def handle_direct(self, pyfile): |
| 150 | self._preload() |
| 151 | |
| 152 | link = self.last_header.get('url') |
| 153 | if re.match(self.__pattern__, link) is None: |
| 154 | self.links.append(link) |
| 155 | |
| 156 | def _preload(self): |
| 157 | if self.data: |