mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 16:59:12 +00:00
feat(feeds): torznab add test button (#347)
This commit is contained in:
parent
c1df9c817f
commit
ebba72ec1f
12 changed files with 804 additions and 186 deletions
41
pkg/torznab/testdata/caps_response.xml
vendored
Normal file
41
pkg/torznab/testdata/caps_response.xml
vendored
Normal file
|
@ -0,0 +1,41 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<caps>
|
||||
<server version="1.1" title="..." strapline="..."
|
||||
email="..." url="http://indexer.local/"
|
||||
image="http://indexer.local/content/banner.jpg" />
|
||||
<limits max="100" default="50" />
|
||||
<retention days="400" />
|
||||
<registration available="yes" open="yes" />
|
||||
|
||||
<searching>
|
||||
<search available="yes" supportedParams="q" />
|
||||
<tv-search available="yes" supportedParams="q,rid,tvdbid,season,ep" />
|
||||
<movie-search available="no" supportedParams="q,imdbid,genre" />
|
||||
<audio-search available="no" supportedParams="q" />
|
||||
<book-search available="no" supportedParams="q" />
|
||||
</searching>
|
||||
|
||||
<categories>
|
||||
<category id="2000" name="Movies">
|
||||
<subcat id="2010" name="Foreign" />
|
||||
</category>
|
||||
<category id="5000" name="TV">
|
||||
<subcat id="5040" name="HD" />
|
||||
<subcat id="5070" name="Anime" />
|
||||
</category>
|
||||
</categories>
|
||||
|
||||
<groups>
|
||||
<group id="1" name="alt.binaries...." description="..." lastupdate="..." />
|
||||
</groups>
|
||||
|
||||
<genres>
|
||||
<genre id="1" categoryid="5000" name="Kids" />
|
||||
</genres>
|
||||
|
||||
<tags>
|
||||
<tag name="anonymous" description="Uploader is anonymous" />
|
||||
<tag name="trusted" description="Uploader has high reputation" />
|
||||
<tag name="internal" description="Uploader is an internal release group" />
|
||||
</tags>
|
||||
</caps>
|
Loading…
Add table
Add a link
Reference in a new issue