mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
49fb93a5ff
commit
d9c61d48b9
@ -23,7 +23,7 @@ def canonicalize_qurl(qurl):
|
|||||||
return qurl
|
return qurl
|
||||||
|
|
||||||
|
|
||||||
@lru_cache(maxsize=4)
|
@lru_cache(maxsize=None)
|
||||||
def create_profile(cache_name='simple', allow_js=False):
|
def create_profile(cache_name='simple', allow_js=False):
|
||||||
from calibre.utils.random_ua import random_common_chrome_user_agent
|
from calibre.utils.random_ua import random_common_chrome_user_agent
|
||||||
ans = QWebEngineProfile(cache_name, QApplication.instance())
|
ans = QWebEngineProfile(cache_name, QApplication.instance())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user