'Is there a way to mimic python requests.session() in NodeJs?
My situation is that I have written a Python script to scrape data from a site to make a dashboard desktop app. However, I choose to go with Electron JS because it is more specialized in visualization for real application. The issue that I stuck at is that I need to convert my Python script to Javascript for complete Javascript native experience, which may be useful if I'm gonna develop a mobile version of this app. The only thing that I need to do is to find a relevant library that has similar functionality as requests.session() in Python.
So is there a relevant way to do this? I tried axios and found it not very good at maintaining persistent session. Thank you very much for your reply!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
