Check out the article on Medium Link
git clone [email protected]:adimango/insights-for-instagram-scraper.git
npm i
npm start natgeo
Instagram images scraping using Puppeteer and Node.js
Check out the article on Medium Link
git clone [email protected]:adimango/insights-for-instagram-scraper.git
npm i
npm start natgeo
When I run the script, I get the following error:
timeout 30000ms exceeded at new WaitTask (/Users/cyngyzusenov/Desktop/pet-projects/insights-for-instagram-scraper/node_modules/puppeteer/lib/DOMWorld.js:554:28) at DOMWorld.waitForFunction (/Users/cyngyzusenov/Desktop/pet-projects/insights-for-instagram-scraper/node_modules/puppeteer/lib/DOMWorld.js:459:12) at Frame.waitForFunction (/Users/cyngyzusenov/Desktop/pet-projects/insights-for-instagram-scraper/node_modules/puppeteer/lib/FrameManager.js:636:28) at Page.waitForFunction (/Users/cyngyzusenov/Desktop/pet-projects/insights-for-instagram-scraper/node_modules/puppeteer/lib/Page.js:1098:29) at Scrapy.load (/Users/cyngyzusenov/Desktop/pet-projects/insights-for-instagram-scraper/Scrapy.js:65:28) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Scrapy.evaluate (/Users/cyngyzusenov/Desktop/pet-projects/insights-for-instagram-scraper/Scrapy.js:43:26)
When I run the script, I get the following:
[path\to]\insights-for-instagram-scraper> node .\index.js willsmith
√ Valid page found
- Scraping url: https://instagram.com/willsmith
TimeoutError: waiting for function failed: timeout 30000ms exceeded
at new WaitTask ([path\to]\insights-for-instagram-scraper\node_modules\puppeteer\lib\DOMWorld.js:554:28)
at DOMWorld.waitForFunction ([path\to]\insights-for-instagram-scraper\node_modules\puppeteer\lib\DOMWorld.js:459:12)
at Frame.waitForFunction ([path\to]\insights-for-instagram-scraper\node_modules\puppeteer\lib\FrameManager.js:636:28)
at Page.waitForFunction ([path\to]\insights-for-instagram-scraper\node_modules\puppeteer\lib\Page.js:1098:29) at Scrapy.load ([path\to]\insights-for-instagram-scraper\Scrapy.js:65:28)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async Scrapy.evaluate ([path\to]\insights-for-instagram-scraper\Scrapy.js:43:26)
√ Scraped 0 posts
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.