(self)
| 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 | |
| 65 | if __name__ == "__main__": |
nothing calls this directly
no test coverage detected