Compare commits

...

2 Commits

Author SHA1 Message Date
Emilis Dambauskas db1895122f Added gemini.omarpolo.com feed. 2020-11-19 18:57:01 +02:00
Emilis Dambauskas 2d8c95fd9f Extended GMI feed link filter to allow minute-precision timestamps. 2020-11-19 18:56:46 +02:00
2 changed files with 3 additions and 2 deletions

View File

@ -27,8 +27,8 @@ sorted.gmi: downloaded.gmi
cat "$<" | sort -k 2 -r | uniq | head -100 > "$@"
downloaded.gmi:
downloaded.gmi: feeds.txt
> "$@"
xargs -a feeds.txt -P ${PARALLEL_DOWNLOADS} -n 1 ./gcat \
| grep -E '^=>\s*gemini://\S+\s+[0-9]{4}-[0-9]{2}-[0-9]{2}(T[0-9]{2}:[0-9]{2}:[0-9]{2}(Z|\+[0-9]{1,2}:[0-9]{2}))?\s+\S.*$$' \
| grep -E "^=>\s*gemini://\S+\s+[0-9]{4}-[0-9]{2}-[0-9]{2}(T[0-9]{2}:[0-9]{2}(:[0-9]{2})?(Z|\+[0-9]{1,2}:[0-9]{2}))?\s+\S.*$$" \
>> "$@"

View File

@ -1 +1,2 @@
gemini://tilde.team/~emilis/feed.gmi
gemini://gemini.omarpolo.com/rss.gmi