(self)
| 60 | QTimer.singleShot(1000, self._load) |
| 61 | |
| 62 | def _load(self): |
| 63 | print("load url:", Url.format(self.Page * 35)) |
| 64 | url = QUrl(Url.format(self.Page * 35)) |
| 65 | req = QNetworkRequest(url) |
| 66 | req.setRawHeader(b"User-Agent", Agent) |
| 67 | self._manager.get(req) |
| 68 | |
| 69 | def onFinished(self, reply): |
| 70 | # 请求完成后会调用该函数 |
nothing calls this directly
no outgoing calls
no test coverage detected