Extended GMI feed link filter to allow minute-precision timestamps.
This commit is contained in:
parent
68acfbb6b2
commit
2d8c95fd9f
4
Makefile
4
Makefile
|
@ -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.*$$" \
|
||||
>> "$@"
|
||||
|
|
Loading…
Reference in New Issue