Human-readable alt text #24
@ -163,14 +163,10 @@ async function main() {
|
||||
const pngBuffer = pngData.asPng();
|
||||
|
||||
await promises.writeFile(imgfile, pngBuffer);
|
||||
console.log(cf);
|
||||
console.log(imgfile);
|
||||
console.log(alt_text);
|
||||
if( cf['base_url'] ) {
|
||||
//await post_image(imgfile, alt_text, cf);
|
||||
} else {
|
||||
console.log(imgfile);
|
||||
console.log(alt_text);
|
||||
await post_image(imgfile, alt_text, cf);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user