Created
September 29, 2016 17:19
-
-
Save aliomattux/e2c7f86d36cafda5c52a420932c3390d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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