Home  >  Q&A  >  body text

javascript - JS uses ajax to crawl Baidu takeaway store information

I checked Baidu Takeaway's request and found that he used the get method to request store data. Then what is the string of letters after his request address? Is it after address encoding?

It’s this string of 4edab14a392be935. Is this encoding the address? I can't decode it using decodeURI? Or is this thing something else? If not, how do I initiate a request to obtain the corresponding data?
I actually just want to crawl the business information on Baidu Takeout, and I beg for answers. It would be better if you could attach a code.

PHP中文网PHP中文网2689 days ago748

reply all(1)I'll reply

  • 三叔

    三叔2017-06-08 11:04:44

    The ID they generated themselves

    https://waimai.baidu.com/waimai/shoplist/029148de828d3b78
    
    https://waimai.baidu.com/waimai/shop/2002009916
    

    reply
    0
  • Cancelreply