mirror of
https://github.com/timberjoegithub/GoogleScrape.git
synced 2026-07-22 00:19:48 +00:00
resub
This commit is contained in:
@@ -681,7 +681,7 @@ def write_to_database(data, local_outputs):
|
|||||||
column_list=[]
|
column_list=[]
|
||||||
print('write to database ...')
|
print('write to database ...')
|
||||||
for x in inspect.getmembers(Posts):
|
for x in inspect.getmembers(Posts):
|
||||||
if not (x[0].startswith('_') or 'metadata' in x[0] or 'registry' in x[0]):
|
if not (x[0].startswith('_') or 'metadata' in x[0] or 'registry' in x[0] or 'id' in x[0]):
|
||||||
column_list.append(x[0])
|
column_list.append(x[0])
|
||||||
#cols = ["name", "comment", 'rating','picsURL','picsLocalpath','source','date','address',
|
#cols = ["name", "comment", 'rating','picsURL','picsLocalpath','source','date','address',
|
||||||
# 'dictPostComplete','visitdate']
|
# 'dictPostComplete','visitdate']
|
||||||
|
|||||||
Reference in New Issue
Block a user