当前位置: 首页 > news >正文

做网站费用滁州信息流优化师招聘

做网站费用滁州,信息流优化师招聘,东莞搜索优化,国外金融网站设计欣赏标题基于Hive大数据分析springboot为后端以及vue为前端的的民宿系 本文介绍了如何利用Hive进行大数据分析,并结合Spring Boot和Vue构建了一个民宿管理系统。该民民宿管理系统包含用户和管理员登陆注册的功能,发布下架酒店信息,模糊搜索,酒店详情信息展示,收藏以及对收藏的…

标题基于Hive大数据分析springboot为后端以及vue为前端的的民宿系

本文介绍了如何利用Hive进行大数据分析,并结合Spring Boot和Vue构建了一个民宿管理系统。该民民宿管理系统包含用户和管理员登陆注册的功能,发布下架酒店信息,模糊搜索,酒店详情信息展示,收藏以及对收藏的酒店进行排序可视化,管理员发布,添加用户的功能。

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

1. 数据采集

通过 Python 爬虫实现数据采集,并将采集到的数据存储到数据库中。这些数据将作为我们民宿系统的基础数据,在后续的处理和分析中发挥重要作用。我们首先使用 Python 爬虫从艺龙酒店获取民宿相关信息,包括房源信息、评论信息、价格信息等。以下是一个简单的示例代码,使用 BeautifulSoup 库进行网页解析,并通过 requests 库发送 HTTP 请求获取网页内容。

import json
import timeimport requestsfrom request_data.sync_data2mysql import request_data2mysqlhotels_data = []class YiLongList:def __init__(self,inDate,outDate,city):self.inDate,self.outDate = inDate,outDateself.city = cityself.session = requests.Session()def jxList(self,hotelList):for h in hotelList:hotelName = h.get("hotelName")starLevelDes = h.get("starLevelDes")commentScore = h.get("commentScore")price = h.get("price")commentScoreDes = h.get("commentScoreDes")commentMainTag = h.get("commentMainTag")commentCount = h.get("commentCount")hotelAddress = h.get("hotelAddress")trafficInfo = h.get("trafficInfo")areaName = h.get("areaName")hotelTags = h.get("hotelTags")if hotelTags:hotelTags = "|".join([i.get("tagName") for i in hotelTags])themeList = "|".join(h.get("themeList"))recallReason = h.get("recallReason")[0]data = {'hotelName': hotelName,'starLevelDes': starLevelDes,'commentCount': commentCount,'price': price,'commentScore': commentScore,'commentScoreDes': commentScoreDes,'areaName': areaName,'hotelTags': hotelTags,'themeList': themeList,'recallReason': recallReason,'commentMainTag': commentMainTag,'hotelAddress': hotelAddress,'trafficInfo': trafficInfo}hotels_data.append(data)print(hotelName,starLevelDes,commentCount,price,commentScore,commentScoreDes,\areaName,hotelTags,themeList,recallReason,commentMainTag,hotelAddress,trafficInfo,)def getList(self,page,traceToken):url = "https://hotel.elong.com/tapi/v2/list"headers = {"Accept-Language": "zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6,zh-TW;q=0.5","Referer": "https://hotel.elong.com/hotel/hotellist?city=0101&inDate=2024-03-23&outDate=2022-03-24&filterList=8888_1&pageSize=20&t=1669994718934","User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.62","accept": "application/json, text/plain, */*","deviceid": "c2a61f65-fa3e-4360-8ccd-4093f4f99f41","traceid": "4630a377-472b-4765-852f-959e2fa139cd"}if page == 0:params = {"city": self.city,"inDate": self.inDate,"outDate": self.outDate,"filterList": "8888_1","pageIndex": str(page),"pageSize": "20","sugActInfo": ""}else:params = {"city"
http://www.hengruixuexiao.com/news/18119.html

相关文章:

  • wordpress建站产品导入不同目录seo准
  • 成都网站制作电话怎么写网站
  • 北京旅游网站排名上海网优化seo公司
  • 霸州有做滤芯网站的吗seo优化网站推广专员招聘
  • 扬中会建网站互联网营销师怎么报名
  • 西安好玩的地方排行榜正规网站优化哪个公司好
  • 网站搭建品牌品牌策划是做什么的
  • 公司网站快速备案百度金融
  • 做网站找哪家好怎么自己找外贸订单
  • 做app还是网站免费网站流量统计工具
  • 国内高端医疗网站建设seo推广方案
  • 建网站 必须学html吗枣庄网站seo
  • 建设公司网站法律声明国内快速建站
  • 湖州网站seo优化seo网页推广
  • 天津自动seo安卓优化大师官网下载
  • 浙江建设职业技术学院门户网站seo外链专员
  • 北京个人制作网站有哪些内容百度搜索排名怎么收费
  • 上海网站改版哪家好天津百度网站快速排名
  • 一互联网网站design哪家建设公司网站
  • 温岭网站制作百度统计app
  • 沈阳专业网站制作团队怎样在网上推广
  • 做一个网购网站需要怎么做seo深度优化公司
  • dede怎么做网站app推广代理
  • 怎么做自己公司的app南宁网站seo外包
  • wordpress 内容编辑器郑州seo使用教程
  • 微信开发小程序公司淘宝seo搜索排名优化
  • 做博彩类的网站网络营销策划总结
  • 网站建设代码下载大全百度网盘手机版
  • 网站开发外包合同模板权威发布
  • 怎么做网站排名会更好重庆电子商务网站seo