|
@@ -47,6 +47,9 @@ def _get_data(file_dir):
|
|
|
s = s + ","
|
|
|
s = s + "全部屋型,全部坪數,全部預算,全部格局" """
|
|
|
result['tags'] = s
|
|
|
+ elif 'categories: ' in line:
|
|
|
+ s = line.replace('categories: ', '').strip()
|
|
|
+ result['categories'] = s
|
|
|
elif 'image: ' in line:
|
|
|
s = line.replace('image: ', '').strip()
|
|
|
s = s.replace('"', '').strip()
|