scrape-it icon indicating copy to clipboard operation
scrape-it copied to clipboard

Doesn't return tag script attribute value

Open renanbessa opened this issue 3 years ago • 1 comments

I'm trying to get the value of the data-ad-client attribute inside the script tag, but it's always null. Am I doing right?

adsense: {
          selector: 'script',
          attr: 'data-ad-client',
        },

renanbessa avatar Aug 30 '22 16:08 renanbessa

Can you please share a full example code? Make sure the script is present in the HTML.

IonicaBizau avatar Sep 01 '22 18:09 IonicaBizau