Comments (5)
@benjamingr This is now available in 2.1.0
. π I used assured
to keep the callback interface too.
from scrape-it.
Hey @benjamingr! π
True, I was waiting for someone to open this subject. This is a bit more general thing, across my modules (they are using callbacks) and I have this on my list. Maybe this would be a good start.
from scrape-it.
Hi, is there away to get access to res and body via promise interface? Or is it only avail via using callback interface?
from scrape-it.
@curtisturner I'm not sureβby calling resolve
, can we send more than one parameter? If so, that should be already there. Otherwise, I'm not really sure how we should handle that. How would you like to access these values? π
from scrape-it.
No, you can't - you can use an object or array and use destructuring or .spread
from scrape-it.
Related Issues (20)
- What is the reason for this jump in popularity? HOT 1
- Encoding issue with Spanish accents HOT 3
- Cannot find name Cheerio / CheerioSelector / CheerioStatic HOT 1
- Add support for conditional selector HOT 1
- Meta Data HOT 1
- no space between tag HOT 1
- Move scrapeHTML into its own package HOT 1
- Headers of type HTTP/2 HOT 1
- scrapeHTML is not defined HOT 1
- Alternative selectors for one element HOT 1
- Scrape a table with image links. HOT 1
- Parsing tables and xpath
- Can't select nth element HOT 1
- Scrape Behind Login HOT 1
- commas on next line in readme HOT 1
- $ is not a function in a Remix App HOT 1
- Doesn't return tag script attribute value HOT 1
- Doesn't work with :nth-child selector HOT 1
- [Feature request] "OR" query
- Can't use :not(:fist-child) nor eq in listItem HOT 1
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 scrape-it.