Skip to content

Commit

Permalink
chinese papers
Browse files Browse the repository at this point in the history
  • Loading branch information
yindaheng98 committed May 18, 2024
1 parent 02ad412 commit 28acdef
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 @@ -74,7 +74,7 @@ def title(self) -> str:
return " ".join(t for t in child.itertext())

def title_hash(self) -> str:
return re.sub(r"[^0-9a-z]", "", self.title().lower())
return re.sub(r"[^0-9a-z\u4e00-\u9fa5]", "", self.title().lower())

def journal(self) -> Optional[str]:
tag = {
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.4.1',
version='2.1.5',
author='yindaheng98',
author_email='[email protected]',
url='https://github.com/yindaheng98/dblp-crawler',
Expand Down

0 comments on commit 28acdef

Please sign in to comment.