I hereby claim:
- I am drauiq on github.
- I am drauiq (https://keybase.io/drauiq) on keybase.
- I have a public key ASCen9mohAw2gUS3C-9E2-C0kW5i7ypH4FPw1hln0GJh8go
To claim this, I am signing this object:
const fetch = require('node-fetch') | |
const cheerio = require('cheerio') | |
const tableParser = require('cheerio-tableparser') | |
async function getInfoById(id = null) { | |
id = Number(id) | |
if(!id || isNaN(id) || id < 1) return {ok: false, response: "Не указан ID смешарика"} | |
let rawPage = await (await fetch(`https://playxland.ru/player/${id}`)).text() |
const http = require('http') | |
const streamPatterns = [ | |
/stream.loveradio.ru:80\/[^">\s]+/g, | |
/stream2.n340.com:80\/[^">\s]+/g | |
] | |
http.get('http://www.loveradio.ru/player.htm', (response) => { | |
let data = '' |
I hereby claim:
To claim this, I am signing this object: