Add ability not to fetch an item's article
parent
9f22402dca
commit
a5a327388a
6
morss.py
6
morss.py
|
@ -311,6 +311,12 @@ def Fill(item, cache, feedurl='/', fast=False, clip=False):
|
||||||
link = match[0]
|
link = match[0]
|
||||||
clip = True
|
clip = True
|
||||||
log(link)
|
log(link)
|
||||||
|
else:
|
||||||
|
link = None
|
||||||
|
|
||||||
|
if link is None:
|
||||||
|
log('no used link')
|
||||||
|
return True
|
||||||
|
|
||||||
# check cache and previous errors
|
# check cache and previous errors
|
||||||
if link in cache:
|
if link in cache:
|
||||||
|
|
Loading…
Reference in New Issue