fakenews: linebreak before timestamp
This commit is contained in:
parent
c92e00f3cb
commit
8668bbb375
2
fakenews
2
fakenews
|
@ -19,7 +19,7 @@ while read account; do
|
|||
curl -H 'User-Agent:' -s "https://twitter.com/$account" |
|
||||
tscrape |
|
||||
head -n $numberOfTweets |
|
||||
awk -F '\t' '{$1 = strftime("%d-%m-%Y %H:%M:%S",$1); print "<dt>" $6 "</dt><dd>" $4 " <small>" $1 "</small></dd>"}' |
|
||||
awk -F '\t' '{$1 = strftime("%d-%m-%Y %H:%M:%S",$1); print "<dt>" $6 "</dt><dd>" $4 " <br><small>" $1 "</small></dd>"}' |
|
||||
sed 's/https:[^ ]*/<a href="&">&<\/a>/g' >> $outfile
|
||||
echo "</dl>" >> $outfile
|
||||
done < "$accountsfile"
|
||||
|
|
Loading…
Reference in New Issue
Block a user