remove debut
This commit is contained in:
parent
bf1a69500f
commit
fb9705177b
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ bot.global.text(/(https?:\/\/[^ ,\)"]*)/ig, (b) => {
|
||||||
if (!/(coa|pad)\.crapaud-fou\.org/.test(url)) {
|
if (!/(coa|pad)\.crapaud-fou\.org/.test(url)) {
|
||||||
request(url, (err, res, body) => {
|
request(url, (err, res, body) => {
|
||||||
if (!err) {
|
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 re = /<title[^>]*>([^<]*)<\/title>/gi;
|
||||||
var match = re.exec(body);
|
var match = re.exec(body);
|
||||||
if (match && match[1]) {
|
if (match && match[1]) {
|
||||||
|
|
Loading…
Reference in a new issue