remove debut

This commit is contained in:
mose 2019-09-15 09:21:37 +08:00
parent bf1a69500f
commit fb9705177b

View file

@ -9,7 +9,7 @@ bot.global.text(/(https?:\/\/[^ ,\)"]*)/ig, (b) => {
if (!/(coa|pad)\.crapaud-fou\.org/.test(url)) {
request(url, (err, res, body) => {
if (!err) {
console.log(JSON.stringify(res.request.uri.href, null, 2));
// console.log(JSON.stringify(res.request.uri.href, null, 2));
var re = /<title[^>]*>([^<]*)<\/title>/gi;
var match = re.exec(body);
if (match && match[1]) {