+ 2
Unable to link two curl with each other
I have two curl in my code. I want them to work with each other. first curl is in php and second curl is inside a <script> area. first curl do login and then second curl extract data available after login. can anyone please tell me how can I do it???? here is the file..... https://code.sololearn.com/WGUfWIwLSgxx/?ref=app
26 Respostas
+ 11
Whan i click on link it open page to download sololearn app.
+ 1
I think I understand now... In theory, PHP must wait to answer from server that login operation was successfully perform. After that, U can use Script to grab content.
+ 1
Payments Magnus just read a Google API focumentation for that.
+ 1
All right Payments Magnus . Just use script to grab local storage and represent it in XML or HTML.
+ 1
If u use cell phone, it was Android function. In other case (if u work at PC) it's much more simpler.
+ 1
Just use local host to grab local storage (in your PC).
+ 1
Yes. Anyway, u must use local storage.
+ 1
I watched your code and I decided to write my own code for that. Just wait for couple hours...
+ 1
Anyway, you made many mistakes in your HTML/JS.
+ 1
Thank you for that Payments Magnus 😀👍🏻
+ 1
I know.....I am not good enough in coding.....I just use internet examples to make it....
+ 1
👍🏻 Good to go 👍🏻
+ 1
Yea. I know that...😎
+ 1
0
I agree with Sanja Panic but I think that questioni was: "how can I made two links are works in different address - one from url and second from script. Am I right?
0
I am doing web scraping through this script. one has to perform login function and save that session through cookies and second one has to use these cookies and perform fetch HTML page function.
0
yes .....you are right
0
after login, I just want to grab that data which is not public version
0
it was not helpful at all....
0
can you please help me in doing this....I am like a beginner...I tried it on my own.. but got nothing from it.....