MCPcopy Create free account
hub / github.com/PyQt5/PyQt / _load

Method _load

QFlowLayout/HotPlaylist.py:62–67  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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 # 请求完成后会调用该函数

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected