Only download content.json files as content

This commit is contained in:
shortcutme 2017-07-19 16:45:12 +02:00
parent 961fcbf660
commit 2aba9cc3c2
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -131,6 +131,9 @@ class Site(object):
if config.verbose:
self.log.debug("Downloading %s..." % inner_path)
if not inner_path.endswith("content.json"):
return False
found = self.needFile(inner_path, update=self.bad_files.get(inner_path))
content_inner_dir = helper.getDirname(inner_path)
if not found: