debug information changes.
This commit is contained in:
parent
401a482497
commit
090951f270
6
buku
6
buku
@ -227,8 +227,7 @@ def getPageResp(url, fullurl=False):
|
|||||||
return (None, None)
|
return (None, None)
|
||||||
|
|
||||||
if debug:
|
if debug:
|
||||||
print("server: [%s]" % server)
|
print("server [%s] url [%s]" % (server, url))
|
||||||
print("URL: [%s]" % url)
|
|
||||||
|
|
||||||
# Handle URLs passed with %xx escape
|
# Handle URLs passed with %xx escape
|
||||||
try:
|
try:
|
||||||
@ -261,6 +260,9 @@ def getTitleData(resp):
|
|||||||
|
|
||||||
if charset == None:
|
if charset == None:
|
||||||
charset = 'utf-8'
|
charset = 'utf-8'
|
||||||
|
if debug:
|
||||||
|
printmsg("Charset missing in response", "WARNING")
|
||||||
|
|
||||||
if debug:
|
if debug:
|
||||||
print("charset: %s" % charset)
|
print("charset: %s" % charset)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user