add twitch stream notify
This commit is contained in:
@@ -70,9 +70,14 @@ const getLastPost = async (pageid = '') => {
|
||||
if (m !== null && m.length > 1) {
|
||||
id = m[1]
|
||||
}
|
||||
} else if (/\/videos\/(\d+)/.test(link)) {
|
||||
let m = link.match(/\/videos\/(\d+)/)
|
||||
if (m !== null && m.length > 1) {
|
||||
id = m[1]
|
||||
}
|
||||
}
|
||||
}
|
||||
console.log(time, link, txt, id)
|
||||
// console.log(time, link, txt, id)
|
||||
if (!time || !link || !id) return null
|
||||
let tmp = {
|
||||
txt,
|
||||
|
||||
Reference in New Issue
Block a user