mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
...
This commit is contained in:
parent
9fd60f7884
commit
1041cc4180
@ -175,6 +175,14 @@ class NetworkAccessManager(QNetworkAccessManager): # {{{
|
||||
|
||||
class Browser(QObject):
|
||||
|
||||
'''
|
||||
Browser (WebKit with no GUI).
|
||||
|
||||
This browser is NOT thread safe. Use it in a single thread only! If you
|
||||
need to run downloads in parallel threads, use multiple browsers (after
|
||||
copying the cookies).
|
||||
'''
|
||||
|
||||
def __init__(self,
|
||||
# Logging. If None, uses a default log, which does not output
|
||||
# debugging info
|
||||
@ -216,6 +224,3 @@ class Browser(QObject):
|
||||
self.nam = NetworkAccessManager(log, use_disk_cache=use_disk_cache, parent=self)
|
||||
self.page.setNetworkAccessManager(self.nam)
|
||||
|
||||
def visit(self, url):
|
||||
pass
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user