using queryselector to get textContent from td tags without class names

I am trying to create a datascraper using node.

Here is a sample html code for an item that I am trying to scrape:

<tr class="cool">
<td>Bob eats shoes <br/><a href="/cool/donkey" title="fluffy" class="stack">[Stack]</a>

Here is some code that I am using to extract:

cars.forEach(carCard=> {
      const carCool = {
        number: carCard.querySelector('?').textContent,
        date: carCard.querySelector('?').textContent,

I was wondering if there was anyway I could get the text of ‘Todd’ and [Stack] using this query selector. I do not know what I would need to put in place of the question marks. If not is there a different method I can use to accomplish this?

Please help.

322 thoughts on “using queryselector to get textContent from td tags without class names”

  1. [url=]cialis 5mg online australia[/url] [url=]buy tadalafil online uk[/url] [url=]buy generic tadalafil online[/url] [url=]order viagra uk[/url] [url=]buy cialis super active[/url] [url=]cialis 2.5 mg daily use[/url] [url=]real viagra online pharmacy[/url] [url=]cephalexin 800 mg[/url] [url=]viagra price in india[/url] [url=]cialis price europe[/url]

  2. [url=]how much is cialis cost[/url] [url=]cialis for sale mexico[/url] [url=]generic sildenafil 50mg[/url] [url=]cheapest generic viagra online[/url]

  3. [url=]buy viagra discount[/url] [url=]where can i buy viagra in south africa[/url] [url=]viagra prescription discount[/url] [url=]canada drug pharmacy viagra[/url] [url=]cialis from us pharmacy[/url]

  4. [url=]sildenafil price uk[/url] [url=]how to get sildenafil[/url] [url=]buy viagra new york[/url] [url=]generic tadalafil no prescription[/url] [url=]reputable indian online pharmacy[/url]

  5. [url=]modafinil 2017[/url] [url=]where can i order generic viagra online[/url] [url=]cheap viagra overnight[/url] [url=]super active cialis[/url] [url=]generic cialis 10[/url]

  6. [url=]sildenafil 200mg[/url] [url=]accutane purchase uk[/url] [url=]can i buy viagra without prescription[/url]


Leave a Comment