Files
RSSHub/lib/routes/4chan/namespace.ts
T
heisenshark e935df5bc6 feat(route): add 4chan (#21249)
* feat: added 4chan route

* feat: renamed board to catalog

* refactor(route/4chan): added util.ts for handling catalog processing

* feat(route/4chan): added break after the reply count

* refactor(route/4chan):functions to arrow functions

* feat(route/4chan): utc pubdate, route params to parameters

* fix(route/4chan): removed explicit category set, changed radar rules

* fix(route/4chan): changed pubdate handling to timezone>parseDate

* fix(route/4chan): added spoilers back, changed links to absolute URLs, changed html stripping in title, removed force timezone setting, removed referrerpolicy from img

* fix(route/4chan): fix https typo

* fix(route/4chan): radar route namespace prefix

* Apply suggestions from code review
2026-03-01 00:20:52 +08:00

10 lines
187 B
TypeScript

import type { Namespace } from '@/types';
export const namespace: Namespace = {
name: '4chan',
url: '4chan.org',
categories: ['bbs'],
lang: 'en',
description: '',
};