Scraping Reddit with Puppeteer & NodeJs

  Рет қаралды 18,092

Fabian 👁

Fabian 👁

Күн бұрын

Пікірлер: 33
@alexanderkozhurkin5408
@alexanderkozhurkin5408 5 жыл бұрын
Thank You, Fabian for nice tutorial. Why you dont attach link to github code? It will be easier to follow along. It's hard to type and watch the video
@thechosenone89
@thechosenone89 2 жыл бұрын
This tutorial is particularly useful because it's on a site where the markup hasn't changed much since the video was recorded. One thing did change though, basically there is a sponsored post at the top of the list of results now. And your span[class="rank"] selector won't work because that span in the sponsored post has a class of "rank sponsored" rather than just "rank". And the tagline classes will error out too but I didn't investigate why. Easy fix is to just replace "thing" with "self" in the elements declaration: let elements = await self.page.$$('#siteTable > div[class*="self"]'); The sponsored post doesn't have the self class.
@ThiagodeSouzaRios
@ThiagodeSouzaRios 4 жыл бұрын
Nice tutorial. Thanks for sharing your knowledge, it helps me a lot.
@simplyfabian
@simplyfabian 4 жыл бұрын
Glad it helps!
@gabrielsoloman5000
@gabrielsoloman5000 4 жыл бұрын
you're an excellent teacher, bought your udemy course and i'm loving it. i really wanted to purchase your complete web scraping stuff, but the exchange rate from USD to my local currency (BRL) is just terrible right now (1USD : 6BRL), so maybe in the future
@simplyfabian
@simplyfabian 4 жыл бұрын
Thank you! Let me know about this on twitter.com/grohsfabian and I will gladly give you a discount on the course 🙌
@TheBotEmpire
@TheBotEmpire 4 жыл бұрын
Nice and easy to follow good job :)
@grenbowchi2747
@grenbowchi2747 5 жыл бұрын
Thanks for a good quality tutorial !
@Steve-Richter
@Steve-Richter 5 жыл бұрын
Good gosh, that was terrific!
@jstodd4398
@jstodd4398 3 жыл бұрын
You dont explain how to run the code. I assume from your video the only dependency i need to install is puppeteer. When i launch it, it says localhost cannot connect.
@totallynotbluu
@totallynotbluu 3 жыл бұрын
it's because puppeteer doesnt launch a web server at all
@Bartasek94
@Bartasek94 3 жыл бұрын
Would it work with vote/downvote specific comment, not post?
@HK-sw3vi
@HK-sw3vi 4 жыл бұрын
awesome stuff!
@erenay40
@erenay40 5 жыл бұрын
awesome tutorial, thank you!
@alonsouribemx
@alonsouribemx 4 жыл бұрын
Hello, how can you get the results by browsing the pagination?, thank you!
@planetmall2
@planetmall2 5 жыл бұрын
Great job. Thank you!
@soltiscd
@soltiscd 6 жыл бұрын
Will you show how to call upon it on the front end?
@simplyfabian
@simplyfabian 6 жыл бұрын
Hey man, what do you mean by that?
@soltiscd
@soltiscd 6 жыл бұрын
@@simplyfabian implementing it into some kind of project. Excuse me if I don't explain well enough. Such as your imdb, how cpf you make it into a front end for a user to call upon some data?
@simplyfabian
@simplyfabian 6 жыл бұрын
I understand shat you mean now, you want it to be connected to a frontend and return on demand data. Im not sure if I am going to show that and when but thank you for the suggestion! Will definitely note it down 🔥
@BESTEVERDUDE19
@BESTEVERDUDE19 3 жыл бұрын
Local host 808 file not found*
@22mahmoud
@22mahmoud 5 жыл бұрын
How do you use a debugger like that, I mean how to make debugger open the browser and follow the script !!
@simplyfabian
@simplyfabian 5 жыл бұрын
Hey Mahmoud, please go back to part one and two to see exactly which option I used to have the browser open like that when initiating it. The code lines are there 🙏🏼
@22mahmoud
@22mahmoud 5 жыл бұрын
@@simplyfabian Thanks dude :D it works
@conceptualelegance
@conceptualelegance 4 жыл бұрын
this is way out of my league. where does nr come from? thats the biggest one, slice i dont get either. sigh. not noob friendly enough
@Churtleneck
@Churtleneck 4 жыл бұрын
nr is just a parameter to the function getResults. Its supposed to be the number of posts to grab on a page but I guess he didnt use it in this tutorial and just grabbed all the posts on the page instead
@rodrigoorellana2389
@rodrigoorellana2389 4 жыл бұрын
you rocks!
@KillerKotHD
@KillerKotHD 6 жыл бұрын
🔥🔥🔥
@piotrszymanski8325
@piotrszymanski8325 3 жыл бұрын
Very good video but it is the same as any other one! MAN, plz show how to scrape more advancet sites like for example this new version of Reddit which is dinamicly rendered with random classes, show what are the best practices, make something great, because if somebody want to scrape fb for example he cant say it is to hard so lets scrape pizzeria website, man...
@dankchannel1404
@dankchannel1404 5 жыл бұрын
ohh ok
@ufcfights6466
@ufcfights6466 5 жыл бұрын
awesome
Scraping Reddit with Puppeteer & NodeJs - Pagination Handling
6:58
This is How I Scrape 99% of Sites
18:27
John Watson Rooney
Рет қаралды 264 М.
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 62 МЛН
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН
Puppeteer: Headless Automated Testing, Scraping, and Downloading
1:26:20
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 28 М.
Web Scraping with Puppeteer, NodeJS & Shopify
27:54
optikalefx
Рет қаралды 67 М.
A Guide to Web Scraping with Node.js
9:54
Fireship
Рет қаралды 388 М.
The power of Headless Chrome and browser automation (Google I/O '18)
33:46
Chrome for Developers
Рет қаралды 199 М.
Always Check for the Hidden API when Web Scraping
11:50
John Watson Rooney
Рет қаралды 663 М.
Modern Web Testing and Automation with Puppeteer (Google I/O ’19)
29:46
Chrome for Developers
Рет қаралды 79 М.
Get Started with Headless Chrome and Puppeteer
15:26
Jarrod Overson
Рет қаралды 57 М.
Web Scraping with Puppeteer & Node.js: Chrome Automation
35:13
LearnWebCode
Рет қаралды 160 М.
AI Is Making You An Illiterate Programmer
27:22
ThePrimeTime
Рет қаралды 295 М.
OAuth 2.0 and OpenID Connect (in plain English)
1:02:17
OktaDev
Рет қаралды 1,8 МЛН
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН