mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
444c01ed30
commit
b090f18d81
@ -10,7 +10,6 @@ __docformat__ = 'restructuredtext en'
|
|||||||
import socket, time, re
|
import socket, time, re
|
||||||
from threading import Thread
|
from threading import Thread
|
||||||
from Queue import Queue, Empty
|
from Queue import Queue, Empty
|
||||||
from urllib import unquote
|
|
||||||
|
|
||||||
|
|
||||||
from calibre import as_unicode, random_user_agent
|
from calibre import as_unicode, random_user_agent
|
||||||
@ -504,6 +503,7 @@ class Worker(Thread): # Get details {{{
|
|||||||
return sanitize_comments_html(desc)
|
return sanitize_comments_html(desc)
|
||||||
|
|
||||||
def parse_comments(self, root, raw):
|
def parse_comments(self, root, raw):
|
||||||
|
from urllib import unquote
|
||||||
ans = ''
|
ans = ''
|
||||||
ns = tuple(self.selector('#bookDescription_feature_div noscript'))
|
ns = tuple(self.selector('#bookDescription_feature_div noscript'))
|
||||||
if ns:
|
if ns:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user