backport: 适配馒头API变动

This commit is contained in:
景大侠
2025-04-10 14:18:04 +08:00
parent 9f2912426b
commit 6541458326
2 changed files with 10 additions and 17 deletions
-1
View File
@@ -193,7 +193,6 @@ class MTorrentSpider:
'id': torrent_id
},
'header': {
'Content-Type': 'application/json',
'User-Agent': f'{self._ua}',
'Accept': 'application/json, text/plain, */*',
'x-api-key': self._apikey