diff --git a/fakenews b/fakenews index 95b8b0d..4067fd5 100755 --- a/fakenews +++ b/fakenews @@ -20,7 +20,7 @@ while read account; do tscrape | head -n $numberOfTweets | awk -F '\t' '{$1 = strftime("%d-%m-%Y %H:%M:%S",$1); print "
" $6 "
" $4 "
" $1 "
"}' | - sed 's/[ ]\(https:[^ ]*\)/ \1<\/a>/g' | + sed 's/\([^"]\)\(https:[^ ]*\)/\1\2<\/a>/g' | sed 's/>\(https:[^<]*.jpg\)/>PICTURE/g' >> $outfile echo "" >> $outfile done < "$accountsfile"