better description
This commit is contained in:
parent
16a955f310
commit
9dd0c2416e
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ def get_data(url):
|
|||
if txt:
|
||||
if len(txt) > 1 and txt[0].strip() == m.get('title'):
|
||||
txt = txt[1:]
|
||||
m['description'] = '\n\n'.join(txt).strip()
|
||||
m['description'] = '\n\n'.join(txt).split('RESOURCES')[0].strip()
|
||||
y = re.compile('\((\d{4})\)').findall(data)
|
||||
if y:
|
||||
m['year'] = int(y[0])
|
||||
|
|
Loading…
Reference in a new issue