diff --git a/pyproject.toml b/pyproject.toml index 7671b14..e959309 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "spiders-for-all" -version = "0.3.7" +version = "0.3.8" description = "" authors = ["icebear "] readme = "README.md" diff --git a/spiders_for_all/spiders/xhs/schema.py b/spiders_for_all/spiders/xhs/schema.py index 16b8453..569126e 100644 --- a/spiders_for_all/spiders/xhs/schema.py +++ b/spiders_for_all/spiders/xhs/schema.py @@ -48,7 +48,7 @@ class XhsNotesComments(BaseTable): comment_id: orm.Mapped[str] = orm.mapped_column(unique=True) note_id: orm.Mapped[str] content: orm.Mapped[str] - ip_location: orm.Mapped[str] + ip_location: orm.Mapped[str] = orm.mapped_column(nullable=True) like_count: orm.Mapped[int] liked: orm.Mapped[bool] target_comment_id: orm.Mapped[t.Optional[str]] = orm.mapped_column(