![javascript](https://habrastorage.org/r/w120/webt/59/cc/76/59cc7600c78a2239379574.jpeg)
JavaScript
- 2 ответа
- 0 вопросов
2
Вклад в тег
request('https://2ch.hk/b/',(error,response,body)=>{
const $ = cheerio.load(body)
const threadfind = $('blockquote')
if(threadfind && threadfind.text().includes('WEBM'))
{ // thread find blockquote
const threadid= threadfind.attr('id')
console.log(threadid)
}
})