You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tumblr
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
c="${1:- 0}"
4
4
5
5
urls=$(
6
-
grep 'http.*tumblr' /mnt/sda1/urls.txt \
6
+
grep 'http.*tumblr' /mnt/sda1/tumblr.urls \
7
7
| sed 's/ .*//'| sed "s/^/'/;s/\$/'/" \
8
8
| tr '\n'','| sed 's/,$//'
9
9
)
@@ -15,6 +15,7 @@ urls=$(
15
15
titles+=("$title")
16
16
done
17
17
18
+
unset TMOUT
18
19
pause=20
19
20
for((; c <${#urls[@]}; c++));do
20
21
i="${urls[c]}"
@@ -41,4 +42,4 @@ urls=$(
41
42
firefox -new-tab "$i"
42
43
done
43
44
} 3<<(printf".separator ' |'\nSELECT i.url,f.title,i.title FROM rss_item AS i JOIN rss_feed AS f ON i.feedurl = f.rssurl WHERE unread = 1 AND deleted = 0 AND feedurl IN (%s) ORDER BY pubDate ASC;""$urls" \
0 commit comments