mirror of
https://github.com/wassname/FanFicFare.git
synced 2026-09-10 11:40:24 +08:00
Remove some debug output.
This commit is contained in:
@@ -132,12 +132,12 @@ class HPFanficArchiveComAdapter(BaseSiteAdapter):
|
||||
val = labelspan.nextSibling
|
||||
value = unicode('')
|
||||
while val and not 'label' in defaultGetattr(val,'class'):
|
||||
print("val:%s"%val)
|
||||
# print("val:%s"%val)
|
||||
if not isinstance(val,Comment):
|
||||
value += unicode(val)
|
||||
val = val.nextSibling
|
||||
label = labelspan.string
|
||||
print("label:%s\nvalue:%s"%(label,value))
|
||||
# print("label:%s\nvalue:%s"%(label,value))
|
||||
|
||||
if 'Summary' in label:
|
||||
self.setDescription(url,value)
|
||||
|
||||
Reference in New Issue
Block a user