Switched to more generic GMI format.

This commit is contained in:
Emilis Dambauskas 2020-11-19 02:49:08 +02:00
parent 9be068a783
commit 68acfbb6b2
1 changed files with 1 additions and 1 deletions

View File

@ -30,5 +30,5 @@ sorted.gmi: downloaded.gmi
downloaded.gmi:
> "$@"
xargs -a feeds.txt -P ${PARALLEL_DOWNLOADS} -n 1 ./gcat \
| grep -P '^=> gemini://\S+\s+\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d\+\d\d:\d\d\s*,[^,]+,\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.*$$' \
>> "$@"