diff options
-rw-r--r-- | sfeedrc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sfeedrc b/sfeedrc index f6609d3..9b15324 100644 --- a/sfeedrc +++ b/sfeedrc | |||
@@ -376,10 +376,14 @@ fetch() { # fetch(name, url, feedfile) | |||
376 | merge() { | 376 | merge() { |
377 | # merge(name, oldfile, newfile) | 377 | # merge(name, oldfile, newfile) |
378 | case "$1" in | 378 | case "$1" in |
379 | *'Tildes'*) | 379 | *'Tildes'* | *r_*) |
380 | # Tildes changes its IDs and titles fairly regularly, which is really | 380 | # Tildes changes its IDs and titles fairly regularly, which is really |
381 | # annoying and adds false doubles. So here, remove the last | 381 | # annoying and adds false doubles. So here, remove the last |
382 | # element of the path name (the title), and sort ONLY on TIMESTAMP. | 382 | # element of the path name (the title), and sort ONLY on |
383 | # TIMESTAMP. | ||
384 | # | ||
385 | # Reddit also sometimes does weird things, so let's just use | ||
386 | # timestamps for that too. | ||
383 | cat "$2" "$3" | | 387 | cat "$2" "$3" | |
384 | sort -t ' ' -k1,1 -u | 388 | sort -t ' ' -k1,1 -u |
385 | ;; | 389 | ;; |