complete all search functions

This commit is contained in:
askiiart 2024-12-01 12:31:43 -06:00
parent 492579035d
commit 546e4944b4
Signed by untrusted user who does not match committer: askiiart
GPG key ID: EA85979611654C30
6 changed files with 429 additions and 45 deletions

View file

@ -25,7 +25,7 @@ fn main() -> Result {
Queries are returned as an RSS feed something like this:
```rusts
```rss
<rss version="1.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:torznab="http://torznab.com/schemas/2015/feed">
<channel>
<atom:link rel="self" type="application/rss+xml" />
@ -65,6 +65,7 @@ Item attributes:
- URLs:
- Main URI can either be a magnet URI or a link to a .torrent file: `<enclosure url="http://localhost/" length="0" type="application/x-bittorrent" />`
- Length is ambiguous, so it will just be 0 (see below)
- for magnet: `application/x-bittorrent;x-scheme-handler/magnet`
- If .torrent URL is provided, use that, if not use the magnet; also put the magnet in `magneturl`
- Rest of available attributes: <https://torznab.github.io/spec-1.3-draft/torznab/Specification-v1.3.html?highlight=server#predefined-attributes>