mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-05-27 01:02:34 -04:00
...
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user