Browse Source

remove debug code

Markus-Rost 4 years ago
parent
commit
dadf76e3de
1 changed files with 0 additions and 1 deletions
  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 ) {