Markus-Rost преди 4 години
родител
ревизия
dadf76e3de
променени са 1 файла, в които са добавени 0 реда и са изтрити 1 реда
  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 ) {