on second thought, just PIC might be enough

This commit is contained in:
gutmet 2020-05-02 09:43:01 +02:00
parent 8c94dfd43f
commit d96a70e31e

View File

@ -21,7 +21,7 @@ while read account; do
head -n $numberOfTweets | head -n $numberOfTweets |
awk -F '\t' '{$1 = strftime("%d-%m-%Y %H:%M:%S",$1); print "<dt>" $6 "</dt><dd>" $4 " <br><small><a href=\"https://twitter.com/" $6 "/status/" $5 "\">" $1 "</a></small></dd>"}' | awk -F '\t' '{$1 = strftime("%d-%m-%Y %H:%M:%S",$1); print "<dt>" $6 "</dt><dd>" $4 " <br><small><a href=\"https://twitter.com/" $6 "/status/" $5 "\">" $1 "</a></small></dd>"}' |
sed 's/\([^"]\)\(https:[^ ]*\)/\1<a href="\2">\2<\/a>/g' | sed 's/\([^"]\)\(https:[^ ]*\)/\1<a href="\2">\2<\/a>/g' |
sed 's/>\(https:[^<]*.jpg\)/>PICTURE/g' >> $outfile sed 's/>\(https:[^<]*.jpg\)/>PIC/g' >> $outfile
echo "</dl>" >> $outfile echo "</dl>" >> $outfile
done < "$accountsfile" done < "$accountsfile"