MCPcopy Index your code
hub / github.com/PyQt5/PyQt / onLoadFinished

Method onLoadFinished

QWebView/GetCookie.py:46–62  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

44 return data
45
46 def onLoadFinished(self):
47 allCookies = self.page().networkAccessManager().cookieJar().allCookies()
48 print("allCookies:", allCookies)
49 for cookie in allCookies:
50 # if cookie.domain() == ".pyqt.site":
51 self.cookieView.append(
52 "domain: " + self.bytestostr(cookie.domain()))
53 self.cookieView.append("path: " + self.bytestostr(cookie.path()))
54 self.cookieView.append("name: " + self.bytestostr(cookie.name()))
55 self.cookieView.append(
56 "value: " + self.bytestostr(cookie.value()))
57 self.cookieView.append('')
58 print("domain:", cookie.domain())
59 print("path:", cookie.path())
60 print("name:", cookie.name())
61 print("value:", cookie.value())
62 print()
63
64
65if __name__ == "__main__":

Callers

nothing calls this directly

Calls 4

bytestostrMethod · 0.95
pathMethod · 0.80
nameMethod · 0.80
valueMethod · 0.80

Tested by

no test coverage detected