<commit_before>#!/bin/sh
cd "$(dirname "$0")"

. ./apiKey.property.sh
. ./url.property.sh
. ./file.property.sh

wget -O "$file" "$url"

cp "$file" ..
<commit_msg>Only download the file if modified since last download<commit_after>#!/bin/sh
cd "$(dirname "$0")"

. ./apiKey.property.sh
. ./url.property.sh
. ./file.property.sh

curl \
  --silent --show-error \
  --time-cond "$file" \
  --remote-time \
  --output "$file" \
  "$url"

cp "$file" ..

{'fraction_non_alphanumeric': 0.232662192393736, 'fraction_numerical': 0.0044742729306487695, 'mean_word_length': 2.5555555555555554, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6037245', 'n_tokens_mistral': 180, 'n_tokens_neox': 175, 'n_words': 39}