首页 | 官方网站   微博 | 高级检索  
     

Python爬虫在导购系统中的应用
引用本文:黄震,高蕾,冼沛杰,谢杰峰,陈智超.Python爬虫在导购系统中的应用[J].福建电脑,2021,37(2).
作者姓名:黄震  高蕾  冼沛杰  谢杰峰  陈智超
作者单位:惠州学院计算机科学与工程学院 广东惠州 516007;惠州学院电子信息与电气工程学院 广东惠州 516007
基金项目:广东省大学生创新训练项目(No.S201910577057)资助。
摘    要:近年来,随着互联网的发展,出现了网上购物这种全新的购物方式。网上购物已经成为年轻人购物的主要方式。但网上的商品琳琅满目,如何挑选物美价廉的商品成为需要解决的问题,由此设计了一个基于Python爬虫的优惠券型导购系统。将淘宝、天猫、京东三大电商网站作为数据源,使用Python的requests、selenium等模块结合IP代理反反爬虫技术将商品信息与优惠券信息爬取下来,对信息进行数据清洗并存入mongo DB数据库中,由后台服务器程序整理数据,并在基于HTML5的安卓端APP展示出来供用户查看与选择。该系统简单高效,可以改善用户的购物体验,具有较高的实用价值。

关 键 词:IP代理  优惠券  导购系统  爬虫  HTML5

Application of Python Crawler in Shopping Guide System
HUANG Zhen,GAO Lei,XIAN Peijie,XIE Jiefeng,CHEN Zhichao.Application of Python Crawler in Shopping Guide System[J].Fujian Computer,2021,37(2).
Authors:HUANG Zhen  GAO Lei  XIAN Peijie  XIE Jiefeng  CHEN Zhichao
Affiliation:(School of Computer Science and Engineering,Huizhou University,Huizhou,China,516007;School of Electronic Information and Electrical Engineering,Huizhou University,Huizhou,China,516007)
Abstract:In recent years,with the development of the Internet,a brand-new way of shopping(i.e.,online shopping)has emerged.Online shopping has become the main way for young people to shop.However,there are a dazzling array of online products,and how to choose high-quality and inexpensive products has become a problem that needs to be solved.Therefore,a coupon-type shopping guide system based on Python crawler is designed.Using Taobao,Tmall,and Jingdong as the data source,the system uses python’s requests,selenium and other modules combined with IP proxy anti-anti-crawler technology to crawl down product information and coupon information.The obtained information is cleaned and saved in a mongo DB database.The stored data is sorted by a background server program and displayed in a HTML5-based Android APP for users to view and select.The system is simple and efficient.It can improve the user’s shopping experience,and has high practical value.
Keywords:IP Proxy  Coupons  Shopping Guide System  Crawler  HTML5
本文献已被 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号