Update webapp.py
This commit is contained in:
parent
a20ac12dd6
commit
935fcf1c60
@ -754,7 +754,7 @@ def search():
|
|||||||
if 'content' not in res: continue
|
if 'content' not in res: continue
|
||||||
if 'title' not in res: continue
|
if 'title' not in res: continue
|
||||||
if res['content'] == '': continue
|
if res['content'] == '': continue
|
||||||
new_url = 'https://url'+str(len(url_pair)+1)
|
new_url = 'https://url'+str(len(url_pair))
|
||||||
url_pair.append(res['url'])
|
url_pair.append(res['url'])
|
||||||
res['title'] = res['title'].replace("التغريدات مع الردود بواسطة","")
|
res['title'] = res['title'].replace("التغريدات مع الردود بواسطة","")
|
||||||
res['content'] = res['content'].replace("Translate Tweet. ","")
|
res['content'] = res['content'].replace("Translate Tweet. ","")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user