Giter Site home page Giter Site logo

rafostar / shell-rss-torrent Goto Github PK

View Code? Open in Web Editor NEW
26.0 5.0 6.0 53 KB

Download torrents from RSS feeds with a simple shell script

License: MIT License

Shell 100.00%
rss-torrent download-torrents transmission-rss torrent-rss torrent-rss-feed anime-downloader anime-rss nyaa-rss anidex-rss download-anime-automatically transmission openwrt-rss shell shell-script torrent openwrt feed torrentbox

shell-rss-torrent's Issues

[Feature request] "or" operant

Would it be possible to add an "or" operant to the search queries?

Something like

    <multi>
    <starts-with ignore-case="1">Cowboy Bob Show</starts-with>
    <possible ignore-case="1">HDTV</possible>
    <possible ignore-case="1">SDTV</possible>
    </multi>

The preceding would download the first "Cowboy Bob Show" found with either "HDTV" or "SDTV" in its description.

    <multi>
    <starts-with ignore-case="1">Cooking with Cookie</starts-with>
    <if-present ignore-case="1">XViD</if-present>
    <if-present ignore-case="1">x264</if-present>
    </multi>

The preceding would download the first "Cooking with Cookie" found with either "XViD" or "x264" in its description.

    <multi>
    <starts-with ignore-case="1">Police Drama</starts-with>
    <may-have ignore-case="1">GroupName1</may-have>
    <may-have ignore-case="1">GroupName2</may-have>
    </multi>

The preceding would download the first "Police Drama" found from either "GroupName1" or "GroupName2"

    <multi>
    <starts-with ignore-case="1">The Epidermis Adventures</starts-with>
    <optional ignore-case="1">720p</optional>
    <optional ignore-case="1">1080p</optional>
    </multi>

The preceding would download the first "The Epidermis Adventures" found with "720p" or "1080p" in its description.

Basically, I'm requesting similar functionality to the regex (choice1|choice2)

<optional>, <may-have>, <if-present>, <possible> are just some ideas I spitballed up.

 

Explanation: This has nothing to do with your fine script - it works an absolute treat!

The issue arises when the RSS feeds aren't properly propagated and the particular TV show I've got scheduled in shell-rss-torrent doesn't appear in the feed SRT is set to watch, or (I've seen this more than once) the publishing group "takes the day (or week) off"

Having an "or" condition where it grabs the first title it finds from multiple vectors would add much to this script.

 

I just want to watch the shows - I'm not married to any particular group or resolution (but I have a playstation, so I am particular about the playability of the media)

Invalid config file

Hi,

Thanks for your script.

I have a problem with the config file.
I copied the bash script as it is, no modification...
Hten I created a xml file like this :

<config>
  <watchdir> /var/www/html/uploads</watchdir>
<history> /tmp/download_history</history>
  <feed url="myRSSfeed">
<contains ignore-case="1">Pack</contains>
    </feed>
</config>

but i get :
Error: invalid config file

Did i make any mistake in writing the xml ?

Thanks for you help

Download all in feed.

I have a personal bookmark feed. Is there anyway to tell the script to download all the torrents in the feed? I tried * in contains variable but it doesn't work.

Thanks.

Only the first multi is seen

Portion of my config file :

  <feed url="https://eztv.re/ezrss.xml">
    <multi>
      <contains>The Orville</contains>
      <contains>1080p</contains>
      <contains>HEVC</contains>
      <contains>x265</contains>
      <contains>MeGusta</contains>
    </multi>
    <multi>
      <contains>Anarchists</contains>
      <contains>1080p</contains>
      <contains>HEVC</contains>
      <contains>x265</contains>
      <contains>MeGusta</contains>
    </multi>
    <multi>
      <contains>Barry</contains>
      <contains>1080p</contains>
      <contains>HEVC</contains>
      <contains>x265</contains>
      <contains>MeGusta</contains>
    </multi>
</feed>

Only the first multi is seen

Total feeds in config: 1
feed 1: https://eztv.re/ezrss.xml
   multi 1: The Orville, found: 0

Is this intentional , or am I doing something wrong ?
Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.