aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md24
-rw-r--r--careless.groovy2
2 files changed, 13 insertions, 13 deletions
diff --git a/README.md b/README.md
index c6daacb..717923e 100644
--- a/README.md
+++ b/README.md
@@ -2,25 +2,25 @@
2 2
3Careless is a script that will download articles from a specific Tiny Tiny RSS feed. 3Careless is a script that will download articles from a specific Tiny Tiny RSS feed.
4 4
5Tiny Tiny RSS is an RSS feed reader that you can install locally to assemble all your articles in a convenient place, much like Feedly and the former Google Reader. Many sites however publish only summaries or introductions over RSS, instead of the whole article. Careless is a small Groovy script that makes use of Tiny Tiny RSS's exposed API to find the links inside and if they are magnet links download the article using Transmission. 5Tiny Tiny RSS is an RSS feed reader that you can install locally to assemble all your articles in a convenient place, much like Feedly and the former Google Reader. Many sites however publish only summaries or introductions over RSS, instead of the whole article. Careless is a Groovy script that makes use of Tiny Tiny RSS's exposed API to find the links inside and if they are magnet links download the article using Transmission.
6 6
7Rename and change the file named `example.conf` and configure which directories, user, group and unix rights should be used: 7Rename and change the file named `example.conf` and configure which directories, user, group and unix rights should be used:
8 8
9 trans The hostname of the computer where Tranmission runs 9 trans The hostname of the computer where Transmission runs
10 ttrss The url to Tiny Tiny RSS, ending on "/api/" 10 ttrss The url to Tiny Tiny RSS, ending on "/api/"
11 user Your username on Tiny Tiny RSS 11 user Your username on Tiny Tiny RSS
12 pass Your user's password on Tiny Tiny RSS 12 pass Your user's password on Tiny Tiny RSS
13 feed The number of the feed that contains the links, enclosed in "" 13 feed The number of the feed that contains the links
14 14
15 tv The directory under which the downloaded files are stored 15 tv The directory under which the downloaded files are stored
16 allowed a list of allowed file types 16 allowed a list of allowed file types
17 nrs a regex matching with how the original filenames state their series and episode number. 17 nrs a regex matching with how the original filenames state their series and number.
18 18
19You can run the script manually (use `sudo` to set the unix user, group and rights): 19You can run the script manually (use of `sudo` is to set the unix user, group and rights):
20 20
21 $ sudo groovy careless.groovy properties.conf 21 $ sudo groovy careless.groovy properties.conf
22 22
23but you shouldn't. The two `systemd` files will let you run the script automatically every hour. In `careless.service`, adapt the line starting with `ExecStart` to point it to where you install Careless. Put both files in `/etc/systemd/system/` and do: 23but you shouldn't. The two `systemd` files will let you run the script automatically every hour and will make the script's log messages appear in the system logs. In `careless.service`, adapt the line starting with `ExecStart` to point it to where you install Careless. Put both files in `/etc/systemd/system/` and do:
24 24
25 $ sudo systemctl start careless.timer 25 $ sudo systemctl start careless.timer
26 $ sudo systemctl enable careless.timer 26 $ sudo systemctl enable careless.timer
diff --git a/careless.groovy b/careless.groovy
index ada40c6..e3fd0ef 100644
--- a/careless.groovy
+++ b/careless.groovy
@@ -186,4 +186,4 @@ public class Article {
186def process = new Careless(args[0]) 186def process = new Careless(args[0])
187def sid = process.login() 187def sid = process.login()
188def entries = process.getArticles(sid) 188def entries = process.getArticles(sid)
189process.transmit(sid, entries); \ No newline at end of file 189process.transmit(sid, entries);