diff --git a/requirements.txt b/requirements.txt index 09f1039..d3c21d7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ pymysql peewee -unicode-slugify +python-slugify[unidecode] pyyaml diff --git a/spip2md/metadata.py b/spip2md/metadata.py index f16dced..c1d75de 100644 --- a/spip2md/metadata.py +++ b/spip2md/metadata.py @@ -32,7 +32,7 @@ class metadata: self.microblog = article.microblog # Probably unused def get_slug(self): - return slugify(f"{self.id}-{self.title}", only_ascii=True) + return slugify(f"{self.id}-{self.title}") def get_frontmatter(self): return "---\n{}---".format(