有反爬措施暂时只能爬取一页
import requests
import re
import pandas as pd
import time
def get_data(page):
""""""
url = "http://hotel.elong.com/ajax/list/asyncsearch"
data = {
"code": "7809114",
"listRequest.areaID": "",
"listRequest.bookingChannel": 5,
"listRequest.cardNo": "192928",
"listRequest.checkInDate": "2018-03-19 00:00:00",
"listRequest.checkOutDate": "2018-03-20 00:00:00",
"listRequest.cityID": "0401",
"listRequest.cityName": "重庆市",
"listRequest.customLevel": "11",
"listRequest.distance": "20",
"listRequest.endLat": 0,
"listRequest.endLng": 0,
"listRequest.facilityIds": "",
"listRequest.highPrice"