I have a website build in using NodeJS
. There is a button for a process. So when it is clicked it should go to a another website (Assuming that user already logged in to that website. So with user's current session the page I need to scrape will load) and scrape a table of data. But that process should not be shown to the user. That's why I am not use redirect codes in JavaScript because all process are showing to user that is opening a new Tab. So what ever process that needs to do in hidden and without showing to user. And this should be client side.
I have tried with chrome extension to load that website even inside a iframe
but that website is not allowed to do that and throwing errors like content-security-policy
. I even tried to remove those headers and load but not working. And I am not like to go to other selenium
or phantom-js
approaches because it needs some additional things/files and also to prevent bot detection. So anyone can help me, guide me to this? How I should do this? Or is this possible scenario? Thanks in advance.
Nice Content
ReplyDelete