If you want to make a website, the user enters query information on the website, and the background automatically inputs the information to the target website, and then obtains the query results of the target website and returns them to the user.
Since the target website does not have an API, how can I implement this function? Ask for advice! thank you all
ringa_lee2017-05-18 10:57:13
You mean submitting the form on the target page, right? Without an API, you have to analyze the form content yourself, and then submit it yourself according to that template.
淡淡烟草味2017-05-18 10:57:13
Can you write a crawler? Your requirement is to simulate a post form after getting the user's input. This requires you to capture packets and see what parameters the website you need to submit needs to submit. Some websites have anti-crawler and anti-automated robot measures.