Skip to content

Commit

Permalink
fix bug #536
Browse files Browse the repository at this point in the history
  • Loading branch information
Quan666 authored Sep 16, 2024
1 parent 5d1418a commit 7f98d2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/ELF_RSS2/rss_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def get_url(self, rsshub: str = str(config.rsshub)) -> str:
if URL(self.url).scheme in ["http", "https"]:
return self.url
# 去除 rsshub地址末尾的斜杠 和 订阅地址开头的斜杠
return f"{rsshub.rstrip("/")}/{self.url.lstrip("/")}"
return f"{rsshub.rstrip('/')}/{self.url.lstrip('/')}"

# 读取记录
@staticmethod
Expand Down

0 comments on commit 7f98d2b

Please sign in to comment.