parent
532852a408
commit
7575291f8f
3
morss.py
3
morss.py
|
@ -364,6 +364,8 @@ def Fill(item, cache, feedurl='/', fast=False):
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def Gather(url, cachePath, progress=False):
|
def Gather(url, cachePath, progress=False):
|
||||||
|
log(url)
|
||||||
|
|
||||||
url = url.replace(' ', '%20')
|
url = url.replace(' ', '%20')
|
||||||
cache = Cache(cachePath, url)
|
cache = Cache(cachePath, url)
|
||||||
|
|
||||||
|
@ -436,7 +438,6 @@ if __name__ == '__main__':
|
||||||
else:
|
else:
|
||||||
cache = os.path.expanduser('~') + '/.cache/morss'
|
cache = os.path.expanduser('~') + '/.cache/morss'
|
||||||
|
|
||||||
log(url)
|
|
||||||
if url is None:
|
if url is None:
|
||||||
print 'Please provide url.'
|
print 'Please provide url.'
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
Loading…
Reference in New Issue