mirror of
https://github.com/amtoaer/bili-sync.git
synced 2026-08-07 21:33:29 +08:00
fix: 对 xml 中的文本内容转义,避免特殊字符影响
This commit is contained in:
@@ -65,10 +65,6 @@ class FavoriteItem(Model):
|
||||
class Meta:
|
||||
unique_together = (("bvid", "favorite_list_id"),)
|
||||
|
||||
@property
|
||||
def safe_name(self) -> str:
|
||||
return self.name.replace("/", "_")
|
||||
|
||||
@property
|
||||
def tmp_video_path(self) -> Path:
|
||||
return Path(settings.path_mapper[self.favorite_list_id]) / f"tmp_{self.bvid}_video"
|
||||
|
||||
Reference in New Issue
Block a user