diff --git a/utils/extract_fields_statuses.sh b/utils/extract_fields_statuses.sh index 0687a79..a660f37 100755 --- a/utils/extract_fields_statuses.sh +++ b/utils/extract_fields_statuses.sh @@ -11,7 +11,6 @@ for i in $ids; do # Fields content=$(echo "$json" | jj "#[id=$i].content" | "$main_basedir"/utils/html_to_txt_render) - echo "$json" | jj -D "#[id=$i].content" status_media_attachments=$(echo "$json" | jj -l "#[id=$i].media_attachments.#.url" | tr -d '"\v') reblog=$(echo "$json" | jj -l "#[id=$i].reblog.id") diff --git a/utils/statuses2files_group.sh b/utils/statuses2files_group.sh index 26bac8c..9f2e106 100755 --- a/utils/statuses2files_group.sh +++ b/utils/statuses2files_group.sh @@ -8,7 +8,7 @@ json=$(cat) for i in $ids; do status_id=$i acct=$(echo "$json" | jj "#[id=$i].account.acct") - echo $acct > "$main_basedir"/all_statuses/$instance/$i/acct + echo "$acct" > "$main_basedir"/all_statuses/$instance/$i/acct mkdir -m 711 -p "$main_basedir"/statuses/$instance/$acct if [ -n "$status_id" ]; then