Quantcast
Channel: configuration - Forum - FlexGet
Viewing all articles
Browse latest Browse all 716

How to regex other_fields?

$
0
0

@Chryses wrote:

Hi, I'm struggling on this, seems stupid, question.

I've this xml

<item>
  <title>Pinnacle Studio Ultimate v23 0 1 177 64 Bit Content Pack</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>Mon, 26 Aug 2019 18:47:48 +0200</pubDate>
  <size>4778150912</size>
  <grabs>6</grabs>
  <description />
  <link>http://10.0.0.100:9117/dl/..../?jackett_apikey=....&amp;path=Q2ZESjhIOTlRbnNBaTlsTXBueG41dVNtYWFnaG9FY0U1ZUJkX2Uza1Y0dTUyd184SDNLd0hXSVc0Y0w2STBVZDV5bzlPNlJtZkNzcEEzREdDeWZmZDFBejBROWdlN2s0SEx0bFA4TFowZGhuRnliOWdJcWNyZ0F5c0xXNlQ5WE1ycE9BUERHRjY2TWNaYU0xS29RWVdKcEpwb29meThHdy1YUk1aYnVTZDIyMFZpQ29DUzQ0VzZ0d0hKMUVYdmxqSEo3dVlxeExVN184cDJhWXp3R0tXNXZaN3cwVnp1UkdENmRQd1VIclZkSGpRdzdrc0VfNWhRMHBwZ3RsdEVPdXp5UmRXUmNQVUlGU1d6UjFJLW9xMEZLb1NiSFZDTUd0bmY3SG9NWmg1dGJWNGNwd0ZCTmQxdmdaN1JKbUwwMWVkLTRJUlE&amp;file=Pinnacle+Studio+Ultimate+v23+0+1+177+64+Bit+Content+Pack</link>
  <category>4010</category>
  <category>100007</category>
  <enclosure url="http://10.0.0.100:9117/dl/..../?jackett_apikey=....&amp;path=Q2ZESjhIOTlRbnNBaTlsTXBueG41dVNtYWFnaG9FY0U1ZUJkX2Uza1Y0dTUyd184SDNLd0hXSVc0Y0w2STBVZDV5bzlPNlJtZkNzcEEzREdDeWZmZDFBejBROWdlN2s0SEx0bFA4TFowZGhuRnliOWdJcWNyZ0F5c0xXNlQ5WE1ycE9BUERHRjY2TWNaYU0xS29RWVdKcEpwb29meThHdy1YUk1aYnVTZDIyMFZpQ29DUzQ0VzZ0d0hKMUVYdmxqSEo3dVlxeExVN184cDJhWXp3R0tXNXZaN3cwVnp1UkdENmRQd1VIclZkSGpRdzdrc0VfNWhRMHBwZ3RsdEVPdXp5UmRXUmNQVUlGU1d6UjFJLW9xMEZLb1NiSFZDTUd0bmY3SG9NWmg1dGJWNGNwd0ZCTmQxdmdaN1JKbUwwMWVkLTRJUlE&amp;file=Pinnacle+Studio+Ultimate+v23+0+1+177+64+Bit+Content+Pack" length="4778150912" type="application/x-bittorrent" />
  <category>4010</category>
  <category>100007</category>
  <seeders>6</seeders>
  <peers>7</peers>
  <minimumratio>1</minimumratio>
  <minimumseedtime>172800</minimumseedtime>
  <downloadvolumefactor>1</downloadvolumefactor>
  <uploadvolumefactor>1</uploadvolumefactor>
</item>

And from here I extract the custom field downloadvolumefactor with this configuration

tasks:
  test:
    rss:
      url: file:///data/Varie/Scripts/mmm.xml
      other_fields: [downloadvolumefactor]
    download: /root/testflex

But I can't find a way to accept only torrent with a specific download downloadvolumefactor, in this case I want to accept only if downloadvolumefactor is equal to 0

Any idea?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 716

Trending Articles