Browse Source

remove debug code

Markus-Rost 4 năm trước cách đây
mục cha
commit
dadf76e3de
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  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 ) {