python - How to get information for a website without API?
某草草
某草草 2017-05-18 10:55:13
0
2
908

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

某草草
某草草

reply all(2)
左手右手慢动作

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.

淡淡烟草味

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.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template