'How to get a class from an html page

Highlighted the part i want to get

This html is from a steam profile page.

Im using npm request and cheerio to get some values form the html page. How could get info from <form id="...."> which has the class="commentthread_entry"

await new Promise(async (resolve, reject) => {
     request(TARGET, (error, response, html) => {
          if (!error && response.statusCode == 200) {
               const $ = cheerio.load(html);
               const htmlRBar = $('.commentthread_entry').html()
               console.log(htmlRBar);
               resolve();
          }
     })
})

Result is null



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source