omni: абузы (31 живой источник + классификатор), авто-добавление фидов, Telegram-бот, вкладка абузов; 589 источников

This commit is contained in:
reform
2026-10-26 12:25:24 +03:00
parent 81f3e556c4
commit ec61ec21f0
12 changed files with 1362 additions and 35 deletions

View File

@@ -336,7 +336,8 @@ def _xenforo_latest(src, limit):
if len(title) < 12 or href.rstrip("/").endswith("/threads"):
continue
if not href.startswith("http"):
href = "https://www.blackhatworld.com" + href
parts = urllib.parse.urlsplit(src.url)
href = "%s://%s%s" % (parts.scheme, parts.netloc, href)
out.append(_item(src, "thread", href, title))
if len(out) >= limit:
break