php submit javascript form [closed]
-
28-10-2019 - |
문제
I'm parsing a website with php
to retrieve data. Part of the data becomes visible after selecting values in a javascript
combobox.
Is their a way for php
to select a value in the combobox, submit it and handle result?
해결책 2
I ended up using the Developer Tools
from Chrome
on the network tab
. This allowed me to capture the form data
that is been posted with the javascript
combobox.
With cURL
I performed the post in php
.
다른 팁
I'm afraid not. You will have to dissect the page you are scraping to see where the data that becomes visible comes from. Use Firebug to help you.
제휴하지 않습니다 StackOverflow