Login To Any Website Using Javascript and Node.js (HTTP Requests) (Stay Logged In)

preview_player
Показать описание
It came to my attention that there wasn't a single video on YouTube demonstarting how to do this. Therefore, I decided to make a video on it, since I couldn't find any similar tutorials on Google either. Hope this video helped you.

Package used: superagent

What is superagent?

Can this be done in axios?
Theoretically it can, but you'll need to manually set the cookies. Superagent does all this for you, which allows you to stay logged in with minimal efforts.

Contact:
Discord: 0xd8d#4385
Рекомендации по теме
Комментарии
Автор

Need a project done? Send me a message on Discord and you can pay me to do it for you!
Discord: 0xd5d#2170

codiumyt
Автор

Awesome thanks for this video! I was trying for days using Axios, Node-fetch, but my login was not working I guess because my app does 2 automatic redirects after posting the credentials and the cookies are not set in that moment.

thunderxero
Автор

When making a send request, If username field is something like fs.username with a period in between like shown. The agent sees it as a syntax error and wont' compile. Any way to overcome this?

TheMontu
Автор

iam new in nodejs, how to input a data like input() method in python to send a data in .send() method?

fathan
Автор

You saved my life. Can't find the way how I show gratitude to you! Lot's of love from Bangladesh!

kingfisher
Автор

That works as far as the request isnt redirected which is true for most websites ...

bjorntrier
Автор

Nothing shows up in Network in instpect element?

Deniz-ydpt
Автор

bro you are amazing with login in websites, can you make a video how to login to facebook using python or php, curl, javascript any of these, Please !

yuuy
Автор

hi is it possible to do the same in nodered?

boopeshkumarprabhakaran
Автор

Interesting, thanks! Is the password in the function visible to the public? I plan on using this for a website.

Selbstdenkender
Автор

You should attach a Google Drive link to the code you used in the description tho!!

rshxrma
Автор

I am new to this so I have a dought to ask. Is this way of doing legal?

ENGCT_MohithB