garysieling / garysieling/adsense-scraper
Example doesn't work
Open
- Dominant language
- JavaScript
- Stars
- 12
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
I'm not sure if they changed this since your article, but the code doesn't work. The iframe contents is not available to scrape via JavaScript. In your example, you have the following:
``` javascript
document.querySelectorAll('#googleAdSenseLeft ul li a');
```
This returns an empty array.
When using the console, I try the following:
``` javascript
document.querySelectorAll('#googleAdSenseLeft iframe html');
```
It returns an empty array as well.
I tried this in Safari, Chrome and Firefox.
Any thoughts on how to overcome this?
Eric
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.