only ignore title
This commit is contained in:
parent
cdea161d2f
commit
c4c0c40825
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ def get_data(url):
|
||||||
if part.strip():
|
if part.strip():
|
||||||
txt.append(part)
|
txt.append(part)
|
||||||
if txt:
|
if txt:
|
||||||
if len(txt) > 1:
|
if len(txt) > 1 and txt[0].strip() == m.get('title'):
|
||||||
txt = txt[1:]
|
txt = txt[1:]
|
||||||
m['description'] = '\n\n'.join(txt).strip()
|
m['description'] = '\n\n'.join(txt).strip()
|
||||||
y = re.compile('\((\d{4})\)').findall(data)
|
y = re.compile('\((\d{4})\)').findall(data)
|
||||||
|
|
Loading…
Reference in a new issue