Quantcast
Channel: Active questions tagged javascript - Stack Overflow
Viewing all articles
Browse latest Browse all 140042

How to get value with cheerio on node js

$
0
0

Hello I want to ask how to get these values on cheerio

IMVALUE

Element/View Source:

<div class="e7m mess_bodiyy">
    <p style="max-width: 600px">
        Hello x7907062441,<br />
        <br />
        This is the value:<br />
        <a href="http://mywebsite.com" target="_blank" rel="nofollow">IMVALUE</a>.<br />
        <br />

How to get IMVALUE on source code like that with cheerio on node js?

I've tried with

const src = $('<div class="e7m mess_bodiyy"></div>').

But the result is undefined.

I hope someone can help me fix these problem. Thank you


Viewing all articles
Browse latest Browse all 140042

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>