We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1d005b commit ef458abCopy full SHA for ef458ab
python_scripts/mdl_psql.py
@@ -105,7 +105,8 @@ def inset_into_db(content_list:list) -> int:
105
conn.commit()
106
affected_rec_cnt += 1
107
else:
108
- if result['synopsis'].values[0] == 'No synopsis available':
+ existing_synopsis = result['synopsis'].values[0]
109
+ if (existing_synopsis == 'No synopsis available') or (existing_synopsis[-3:] == '...'):
110
try:
111
synopsis = get_synopsis(item_url=item['url'])
112
except:
0 commit comments