更新: 2531 个文件 - 2026-03-17 21:00:03

这个提交包含在:
hao
2026-03-17 21:00:04 -07:00
父节点 a3edc88834
当前提交 080e55a98c
修改 2531 个文件,包含 135521 行新增3725 行删除

查看文件

@@ -7,6 +7,7 @@ from urllib.parse import urljoin
import requests
from intel.http_client import request
from intel.models import Candidate
from intel.utils import unique
@@ -16,7 +17,7 @@ TAG_RE = re.compile(r"<[^>]+>")
def fetch(system: Dict[str, Any], source: Dict[str, Any]) -> List[Candidate]:
response = requests.get(source["url"], headers={"User-Agent": "websafe-intel"}, timeout=30)
response = request("GET", source["url"])
response.raise_for_status()
html = response.text
keywords = {kw.lower() for kw in source.get("keywords", [])}