sbbosco
sbbosco
@AVK636 I've had to make the following changes to get PySide6 to work. I haven't tried PyQt6 yet. ``` from qtpy import PYQT6, PYSIDE6 #1 def contextMenuEvent(self, event): if PYSIDE6:...
@AVK636 This code seems to enable disk cache for PySide6. ``` class WebPage(QWebPage): def __init__(self, parent=None): qprofile = QWebEngineProfile('diskcache') if PYSIDE6 else None super(BrowserView.WebPage, self).__init__(qprofile, parent) print(self.profile().httpCacheType()) print(self.profile().cachePath()) print(self.profile().persistentCookiesPolicy()) ```...
@r0x0r I'll try to work on this in the next few weeks. Thanks!
This command worked for me: `url = 'https://raw.githubusercontent.com/ywangd/stash/dev/getstash.py'; import requests as r; exec(r.get(url).text.replace('master', 'dev'))`
@AltKrypto A quick fix that might work for you. edit `stash/lib/libdist.py` under Python Modules / site-packages (user) to remove '-3' ``` if six.PY3: #SITE_PACKAGES_DIR_NAME = "site-packages-3" SITE_PACKAGES_DIR_NAME = "site-packages" else:...
This modified version is working for me on Pythonista 3.4. https://gist.github.com/sbbosco/1290f59d79c6963e62bb678f0f05b035 Changes are: ``` def __init__(self, swipe_navigation=False, data_detectors=NONE, log_js_evals=False, respect_safe_areas=False, inline_media=None, airplay_media=True, pip_media=True, **kwargs): dummy = self.dummy_webview() del dummy WKWebView.webviews.append(self)...