|
@@ -87,8 +87,8 @@ def get_next_job(db):
|
|
|
url_pd['item_url'] = url_pd['fid'].apply(lambda x: 'https://www.google.com.tw/maps/@24.1753633,120.6747136,15z/data=!4m5!3m4!1s{}!8m2!3d24.1760271!4d120.6705323'.format(x))
|
|
|
|
|
|
remove = db.query('select fid from review_process')
|
|
|
- url_pd = pd.DataFrame([dict(i) for i in result])
|
|
|
- remove_fid_list = url_pd['fid'].to_list()
|
|
|
+ remove = pd.DataFrame([dict(i) for i in remove])
|
|
|
+ remove_fid_list = remove['fid'].to_list()
|
|
|
|
|
|
url_pd = url_pd[~url_pd['fid'].isin(remove_fid_list)]
|
|
|
|