Comments (4)
Hi @Royalgamer06
Looks like you are trying to save to directory which already exists. It is not possible by default. You should use not existing directory or create custom resourceSaver as described in docs
from node-website-scraper-phantom.
Yes, I don't have an existing folder. It works for the first file it scrapes, but after the first file has been saved (and thus the directory created) it starts logging errors.
from node-website-scraper-phantom.
@Royalgamer06 it is expected behavior, not existing directory is required for each scrape
It is done in this way to not allow scraper to modify existing files
That's why for first scrape it is ok but for second it returns error
But if you are confident in your code - you can use resourceSaver option to modify this behavior
from node-website-scraper-phantom.
This issue has been automatically closed because there has been no response from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.
from node-website-scraper-phantom.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-website-scraper-phantom.