put images into img/ dir

This commit is contained in:
Alexander 2023-03-11 00:55:43 +00:00
parent a4b6688433
commit 709847452b
1 changed files with 2 additions and 2 deletions

View File

@ -54,9 +54,9 @@ for(my $i=1;$i<=$count;$i++) {
$text=~s@&quot;@"@g; $text=~s@&quot;@"@g;
if($media ne "") { if($media ne "") {
system("wget -P $dir -nc $media"); system("wget -P $dir/img -nc $media");
$media =~ s@.*/@@; $media =~ s@.*/@@;
$media="=> $media\n"; $media="=> img/$media\n";
} }
$post{$filedate} || ($post{$filedate}="# $filedate\n"); $post{$filedate} || ($post{$filedate}="# $filedate\n");