Current location - Recipe Complete Network - Catering training - Meituan reptile
Meituan reptile

there are three ways to crawl the data of meituan

first, App

second, webpage

third, Wechat applet

APP (the largest number of anti-hook anti-snatching packages and various kinds of encryption) web page (the number is small but the development is simple as long as the encryption parameters of js) Wechat applet (the number is appropriate and the difficulty is ok), so we finally decided to take the WeChat applet

emulator, install a micro-message and others (see my other articles)

Start snatching packages at these two URL

. > list URL'/weapp/v2/poi/channelpage'

store details URL'/weapp/v1/poi/info'

I found that the encryption methods of him and the webpage are almost all _token (I won't talk about a lot of online cracking algorithms)

I found an available starting map. These are basically routine operations, so I won't talk about them.

I'll say a few points for attention.

After my test, cookie rarely expire, almost never. If you are prompted, please log in and sleep. If it doesn't work, go and see if it expires in the simulator. You can write an automatic login button wizard.