nice video i have a question what can i do in the scrapeDescripcion method when the promises doesnt resolve, i mean i have 107 promises sometimes y receibe th result but sometimes i dont
It could be your network connectivity that's slow, if some of the promises resolve fine. Perhaps the concurrent/parallel firing of the request.get is too much for your network. Try making a simple for loop with an await inside, so it's sequential and would ensure a slower but more stable connection. Make sure first though that you have some try/catch clause to print out any errors you get, they might give a pointer on what's wrong.
I'm sorry Stefan Hyltoft. I feel sad !!! Because I ask you a lot. Thanks for sharing your helpful video !!! I just learned the programming language two weeks ago. Now I understand more about it, thank you very much !!! I hope you can help me in the end. I have problems when scraping 3 tiers (page1 => page2 => page3). Your video is scraping 2 floors. (page1 => page2). Can you help me, make a video tutorial on scraping 3 floors ?? Thank you very much !!! love you forever
Thanks. I love you !!! I hope you out video: array = >> csv. I do not know how to export the csv file from above code. Thanks very much. I'm sorry my english is bad !!!
Hi, I have an issue ... when I try to scrape the product name and price from this link :www.shwapno.com/categories/fruits--vegetables-vegetables/cid-CU00336652.aspx I get no result just an empty space in the console.... ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- here's my code : const request = require('request'); const cheerio = require('cheerio'); request("www.shwapno.com/products/meat--fish-meat-beef/other/beef-tongue/pid-12100256.aspx", (error, response, html)=>{ if(!error && response.statusCode == 200){ const $ = cheerio.load(html); const data = $('.mtb_price').text(); console.log(data); } }); ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- I've tried in many ways ... but still no luck ... also tried with the python but getting same result... what's the problem ?
Hmm I've never used electron before. Are you sure there's not some good tutorials out there you use like this ?ruclips.net/video/GC3oMVdnmVg/видео.html
Don't fight for my love haha, check out this little video about requestretry, I hope it can be useful in your situation: ruclips.net/video/f9ujVEBX7qU/видео.html
Can you make a video on scraping live data using Cheerios
nice video i have a question what can i do in the scrapeDescripcion method when the promises doesnt resolve, i mean i have 107 promises sometimes y receibe th result but sometimes i dont
It could be your network connectivity that's slow, if some of the promises resolve fine. Perhaps the concurrent/parallel firing of the request.get is too much for your network. Try making a simple for loop with an await inside, so it's sequential and would ensure a slower but more stable connection. Make sure first though that you have some try/catch clause to print out any errors you get, they might give a pointer on what's wrong.
how to do infinite page scrolling in cherio
I'm sorry Stefan Hyltoft. I feel sad !!! Because I ask you a lot. Thanks for sharing your helpful video !!! I just learned the programming language two weeks ago. Now I understand more about it, thank you very much !!! I hope you can help me in the end. I have problems when scraping 3 tiers (page1 => page2 => page3). Your video is scraping 2 floors. (page1 => page2). Can you help me, make a video tutorial on scraping 3 floors ?? Thank you very much !!! love you forever
Thanks. I love you !!! I hope you out video: array = >> csv. I do not know how to export the csv file from above code. Thanks very much. I'm sorry my english is bad !!!
SHARK TANK MỸ Your English is fine :) I will make a video about how to get the csv just for you :)
You can see the video here, enjoy :)! ruclips.net/video/FO8fsy1URfE/видео.html
thanks !!! love
Hi,
I have an issue ... when I try to scrape the product name and price from this link :www.shwapno.com/categories/fruits--vegetables-vegetables/cid-CU00336652.aspx
I get no result just an empty space in the console....
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
here's my code :
const request = require('request');
const cheerio = require('cheerio');
request("www.shwapno.com/products/meat--fish-meat-beef/other/beef-tongue/pid-12100256.aspx", (error, response, html)=>{
if(!error && response.statusCode == 200){
const $ = cheerio.load(html);
const data = $('.mtb_price').text();
console.log(data);
}
});
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I've tried in many ways ... but still no luck ... also tried with the python but getting same result... what's the problem ?
Can you help me ? 😢😢😢 scraping 3 floors !!! 😘😘😘
good video !!!
please help me "electron-packager API"
Thanks 😘
I also need data packets !!! But I love Stefan Hyltoft more than you haha :D
Hmm I've never used electron before. Are you sure there's not some good tutorials out there you use like this ?ruclips.net/video/GC3oMVdnmVg/видео.html
thanks .I need data packets and I heard my friend say using electron-packager !!! thank you very much...
Welcome Shark Tank! I believe you love me just as much as Mãi Yêu :D
:D
Thank you very very very much
Don't fight for my love haha, check out this little video about requestretry, I hope it can be useful in your situation: ruclips.net/video/f9ujVEBX7qU/видео.html
thanks