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>Todd</td>
<td>Bob eats shoes <br/><a href="/cool/donkey" title="fluffy" class="stack">[Stack]</a>
</tr>

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=https://cialisfm.com/]cialis 5mg online australia[/url] [url=https://buycialist.com/]buy tadalafil online uk[/url] [url=https://cialisecc.com/]buy generic tadalafil online[/url] [url=https://viagrabm.com/]order viagra uk[/url] [url=https://ordercialispills.com/]buy cialis super active[/url] [url=https://cicialis.com/]cialis 2.5 mg daily use[/url] [url=https://viagragenpill.com/]real viagra online pharmacy[/url] [url=https://longpills.com/]cephalexin 800 mg[/url] [url=https://ntviagra.com/]viagra price in india[/url] [url=https://cialisur.com/]cialis price europe[/url]

    Reply
  2. [url=http://cialisdf.com/]how much is cialis cost[/url] [url=http://fasttadalafil.com/]cialis for sale mexico[/url] [url=http://viagraconn.com/]generic sildenafil 50mg[/url] [url=http://viagrafmed.com/]cheapest generic viagra online[/url]

    Reply
  3. [url=https://xviagrahot.com/]buy viagra discount[/url] [url=https://viagraiix.com/]where can i buy viagra in south africa[/url] [url=https://viagraoft.com/]viagra prescription discount[/url] [url=https://anviagra.com/]canada drug pharmacy viagra[/url] [url=https://cialisstep.com/]cialis from us pharmacy[/url]

    Reply
  4. [url=https://viagrafmed.com/]sildenafil price uk[/url] [url=https://sildenafileasy.com/]how to get sildenafil[/url] [url=https://viagraoft.com/]buy viagra new york[/url] [url=https://fasttadalafil.com/]generic tadalafil no prescription[/url] [url=https://wbapharmacy.com/]reputable indian online pharmacy[/url]

    Reply
  5. [url=https://onlinemediorder.com/]modafinil 2017[/url] [url=https://viagrabuycheap.com/]where can i order generic viagra online[/url] [url=https://viagrahtab.com/]cheap viagra overnight[/url] [url=https://cialisconnect.com/]super active cialis[/url] [url=https://cialisetabs.com/]generic cialis 10[/url]

    Reply
  6. [url=https://sildenafilzpill.com/]sildenafil 200mg[/url] [url=https://xrpills.com/]accutane purchase uk[/url] [url=https://viagrauni.com/]can i buy viagra without prescription[/url]

    Reply

Leave a Comment