Update /sites

This commit is contained in:
freearhey
2023-10-02 06:35:33 +03:00
parent ca254a6df0
commit c0cfcf7a47
543 changed files with 30781 additions and 31187 deletions
+2 -2
View File
@@ -47,7 +47,7 @@ module.exports = {
},
async channels() {
let html = await axios
.get(`https://www.zuragt.mn/`)
.get('https://www.zuragt.mn/')
.then(r => r.data)
.catch(console.log)
let $ = cheerio.load(html)
@@ -60,7 +60,7 @@ module.exports = {
if (!link) return null
const [_, site_id] = link.match(/\/channel\/(.*)\//) || [null, null]
const [, site_id] = link.match(/\/channel\/(.*)\//) || [null, null]
return {
lang: 'mn',