Skip to content

Commit

Permalink
delete space only
Browse files Browse the repository at this point in the history
  • Loading branch information
yindaheng98 committed Sep 5, 2024
1 parent 8d00f58 commit fe72171
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dblp_crawler/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@


def title_hash(title):
return re.sub(r"[^0-9a-z\u4E00-\u9FFF\uFB00-\uFEFF]", "", title.lower()) or title.lower()
return re.sub(r"[^0-9a-z\u4E00-\u9FFF\uFB00-\uFEFF]", "", title.lower()) or re.sub(r" ", "", title.lower())


class Person:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

setup(
name='dblp_crawler',
version='2.1.7',
version='2.1.8',
author='yindaheng98',
author_email='[email protected]',
url='https://github.com/yindaheng98/dblp-crawler',
Expand Down

0 comments on commit fe72171

Please sign in to comment.