Quantcast
Channel: help - Forum - FlexGet
Viewing all articles
Browse latest Browse all 837

Custom filed from XML field

$
0
0

@Chryses wrote:

Hi, I'm working with Jackett and I copy the rss from it, the list is XML and I've item like this:

<item>
  <title>Il Re Leone 2019 iTALiAN MD 720p HDTS R6 x264 iSTANCE mkv</title>
  <guid>https://.....org/index.php?page=torrent-details&amp;id=......</guid>
  <jackettindexer id="....">....</jackettindexer>
  <comments>https://.....org/index.php?page=torrent-details&amp;id=.......</comments>
  <pubDate>Fri, 23 Aug 2019 16:11:26 +0200</pubDate>
  <size>2952790016</size>
  <grabs>20</grabs>
  <description />
  <link>http://10.0.0.100:9117/dl/..../?jackett_apikey=....&amp;path=Q2ZESjhIOTlRbnNBaTlsTXBueG41dVNtYWFpeFM4MVhBaE5mcmVqZHlqWXkxSUxFbGdJc1ZSU2pOLUc1cWxsVGJrUktEMWliS01HOW1sQm1INVJDUDlUZGpSTldPLVZmWVRwNi1MMVBFQ081VTk3TXN1X3diTi1wQ2Z1UzlRVXNpMHhaS1ZrMElaU2V5Y284dkhDVGtZcmM5eVJqQkowc05EU05Ra25La0hoT3hmV1dxSExLcUo2bUVXMW1DTkY3SEkzTEctVEw4Q1IxUjNaY0VkSnVjV3VjS3VoMWNBVFN2NUVyWnpxUEFFdWY3ajItRlFnTU52UVRmV09UMEZ1bUhZOFU2dFBWbzhlNERmMkx4c2NHWmFRN19zSEhHRm9Bc3BEc1QtOG5UWHZqN0x0aFN6RnFweDJXRnFxQ0ptTlFpWnluR2c&amp;file=Il+Re+Leone+2019+iTALiAN+MD+720p+HDTS+R6+x264+iSTANCE+mkv</link>
  <category>2030</category>
  <category>100029</category>
  <enclosure url="http://10.0.0.100:9117/dl/..../?jackett_apikey=....&amp;path=Q2ZESjhIOTlRbnNBaTlsTXBueG41dVNtYWFpeFM4MVhBaE5mcmVqZHlqWXkxSUxFbGdJc1ZSU2pOLUc1cWxsVGJrUktEMWliS01HOW1sQm1INVJDUDlUZGpSTldPLVZmWVRwNi1MMVBFQ081VTk3TXN1X3diTi1wQ2Z1UzlRVXNpMHhaS1ZrMElaU2V5Y284dkhDVGtZcmM5eVJqQkowc05EU05Ra25La0hoT3hmV1dxSExLcUo2bUVXMW1DTkY3SEkzTEctVEw4Q1IxUjNaY0VkSnVjV3VjS3VoMWNBVFN2NUVyWnpxUEFFdWY3ajItRlFnTU52UVRmV09UMEZ1bUhZOFU2dFBWbzhlNERmMkx4c2NHWmFRN19zSEhHRm9Bc3BEc1QtOG5UWHZqN0x0aFN6RnFweDJXRnFxQ0ptTlFpWnluR2c&amp;file=Il+Re+Leone+2019+iTALiAN+MD+720p+HDTS+R6+x264+iSTANCE+mkv" length="2952790016" type="application/x-bittorrent" />
  <torznab:attr name="category" value="2030" />
  <torznab:attr name="category" value="100029" />
  <torznab:attr name="seeders" value="10" />
  <torznab:attr name="peers" value="10" />
  <torznab:attr name="minimumratio" value="1" />
  <torznab:attr name="minimumseedtime" value="172800" />
  <torznab:attr name="downloadvolumefactor" value="0" />
  <torznab:attr name="uploadvolumefactor" value="1" />
</item>

I don't know if is possible, but I want to filter each items and accept only ones with custom torznap attr name downloadvolumefactor with value 0

I'm trying with regexpr

tasks:
  test:
    regexp:
      accept:
        - "downloadvolumefactor" value="0"
    rss: http://....../results/torznab/api?apikey=.......&t=search&cat=&q=
    download: /root/testflex

I also tried others way but without luck
Maybe I've to use another function but I can't get it working, or I get 0 results or I get error

What I do wrong?

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 837

Trending Articles