This commit is contained in:
koalasat
2025-05-03 16:34:49 +02:00
parent 0679ae9c7b
commit 7d413b8321
2 changed files with 5 additions and 5 deletions

View File

@ -1,14 +1,14 @@
#!/bin/sh #!/bin/sh
filters='{"kinds":[38383]}' filters_external='{"kinds":[38383]}'
while IFS= read -r line; do while IFS= read -r line; do
/app/strfry --config /etc/strfry.conf sync ${line} --filter "$filters" --dir both /app/strfry --config /etc/strfry.conf sync ${line} --filter "$filters_external" --dir both
done < /app/external_urls.txt done < /app/external_urls.txt
filters='{"kinds":[38383, 31986, 1059]}' filters_federation='{"kinds":[38383, 31986, 1059]}'
while IFS= read -r line; do while IFS= read -r line; do
/app/strfry --config /etc/strfry.conf sync ${line} --filter "$filters" --dir both /app/strfry --config /etc/strfry.conf sync ${line} --filter "$filters_federation" --dir both
done < /app/federation_urls.txt done < /app/federation_urls.txt