Ver código fonte

remove debug code

Markus-Rost 4 anos atrás
pai
commit
dadf76e3de
1 arquivos alterados com 0 adições e 1 exclusões
  1. 0 1
      functions/parse_page.js

+ 0 - 1
functions/parse_page.js

@@ -42,7 +42,6 @@ function parse_page(msg, title, embed, wiki, thumbnail) {
 		}
 		var change = false;
 		var $ = cheerio.load(response.body.parse.text['*']);
-		console.log($.text())
 		if ( embed.thumbnail?.url === thumbnail ) {
 			var image = response.body.parse.images.find( pageimage => ( /\.(?:png|jpg|jpeg|gif)$/.test(pageimage.toLowerCase()) && pageimage.toLowerCase().includes( title.toLowerCase().replace( / /g, '_' ) ) ) );
 			if ( !image ) {