Skip to content

The only downloader you need. 下载器的集大成者。

feat(github): 复用 HttpTaskCard

XiaoYouChR0c26a6c33b29
diff --git a/features/github_pack/pack.py b/features/github_pack/pack.py
index 2724ef0b..eae4ba71 100644
--- a/features/github_pack/pack.py
+++ b/features/github_pack/pack.py
@@ -65,3 +65,7 @@ class GitHubPack(FeaturePack):
task.url = originalUrl
task.packId = self.packId
return task
+
+ def taskCard(self, task: Task, parent=None):
+ from http_pack.cards import HttpTaskCard
+ return HttpTaskCard(task, parent)