rafostar / shell-rss-torrent Goto Github PK
View Code? Open in Web Editor NEWDownload torrents from RSS feeds with a simple shell script
License: MIT License
Download torrents from RSS feeds with a simple shell script
License: MIT License
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)
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
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.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.