Skip to content

Instantly share code, notes, and snippets.

@aliomattux
Created September 29, 2016 17:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aliomattux/e2c7f86d36cafda5c52a420932c3390d to your computer and use it in GitHub Desktop.
Save aliomattux/e2c7f86d36cafda5c52a420932c3390d to your computer and use it in GitHub Desktop.
#Your dictionary of crawl values
vals = {
'name':
'date':
'lines': self.prepare_lines(),
}
def prepare_lines():
objects = find_objects()
return_list = []
for object in object:
value = {'name': object.name,
'url': object.url,
}
return_list.append((0, 0, value))
return return_list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment