Skip to content

Commit

Permalink
Merge pull request #68 from fkubota/dev/master
Browse files Browse the repository at this point in the history
Dev/master
  • Loading branch information
fkubota authored Jun 30, 2021
2 parents 237fa12 + fd2ac32 commit 447e21d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ beautifulsoup4==4.9.0
chromedriver-binary==87.0.4280.88.0
selenium==3.141.0
arxiv==0.5.3
webdriver-manager==3.3.0
4 changes: 2 additions & 2 deletions src/carrier_owl.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ def search_keyword(
title_trans = get_translated_text('ja', 'en', title)
abstract = abstract.replace('\n', '')
abstract_trans = get_translated_text('ja', 'en', abstract)
abstract_trans = textwrap.wrap(abstract_trans, 40) # 40行で改行
abstract_trans = '\n'.join(abstract_trans)
# abstract_trans = textwrap.wrap(abstract_trans, 40) # 40行で改行
# abstract_trans = '\n'.join(abstract_trans)
result = Result(
url=url, title=title_trans, abstract=abstract_trans,
score=score, words=hit_keywords)
Expand Down

0 comments on commit 447e21d

Please sign in to comment.