Download lib/utils/rss-parser.ts from ASEM12345/rsshub: direct link, hf CLI and curl.
- Browser
- Download file 234 Bytes
-
https://huggingface.co/spaces/ASEM12345/rsshub/resolve/main/lib/utils/rss-parser.ts
- Command line
-
hf download hf://spaces/ASEM12345/rsshub/lib/utils/rss-parser.ts
-
curl -L -o rss-parser.ts https://huggingface.co/spaces/ASEM12345/rsshub/resolve/main/lib/utils/rss-parser.ts
234 Bytes
| import Parser from 'rss-parser'; | |
| import { config } from '@/config'; | |
| const parser = new Parser({ | |
| customFields: { | |
| item: ['magnet'], | |
| }, | |
| headers: { | |
| 'User-Agent': config.ua, | |
| }, | |
| }); | |
| export default parser; | |