Accept more types as "text" before readability
parent
78706952fe
commit
e3c1cd8619
2
morss.py
2
morss.py
|
@ -347,7 +347,7 @@ def Fill(item, cache, feedurl='/', fast=False):
|
|||
cache.set(link, 'error-http')
|
||||
return True
|
||||
|
||||
if con.info().maintype != 'text':
|
||||
if con.info().type not in MIMETYPE['html'] and con.info().type != 'text/plain':
|
||||
log('non-text page')
|
||||
cache.set(link, 'error-type')
|
||||
return True
|
||||
|
|
Loading…
Reference in New Issue