(self)
| 73 | QTimer.singleShot(1000, self._load) |
| 74 | |
| 75 | def _load(self): |
| 76 | print("load url:", Url.format(self.Page * 35)) |
| 77 | url = QUrl(Url.format(self.Page * 35)) |
| 78 | req = QNetworkRequest(url) |
| 79 | req.setRawHeader(b"User-Agent", Agent) |
| 80 | self._manager.get(req) |
| 81 | |
| 82 | def onFinished(self, reply): |
| 83 | # 请求完成后会调用该函数 |
nothing calls this directly
no outgoing calls
no test coverage detected