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

Method _load

QGridLayout/HotPlaylist.py:61–66  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected