官术网_书友最值得收藏!

Price comparison

Another known use case is to find specific products or services sold through various websites and track their prices. You would be able to see who sells the item, who has the lowest price, or when it is most likely to be in stock. You might even be interested in similar products from different sources. Having a web scraper periodically visit websites to monitor these products and services would be easily solve this problem. This is very similar to tracking prices for flights, hotels, and rental cars as well.

Sites like camelcamelcamel (https://camelcamelcamel.com/) build their business model around such a case. According to their blog post explaining how their system works, they actively collect pricing information from multiple retailers every half hour to every few hours, covering millions of products. This allows users to view pricing differences across multiple platforms, as well as get notified if the price of an item drops. 

This type of web scraper requires very careful parsing of the web pages to extract only the content that is relevant. In later chapters, you will learn how to extract information from HTML pages in order to collect this information.

主站蜘蛛池模板: 当雄县| 定襄县| 将乐县| 盐山县| 扶沟县| 孟村| 盐池县| 四川省| 吐鲁番市| 九台市| 广东省| 东明县| 阿城市| 朔州市| 兰州市| 琼中| 宁都县| 山东省| 库尔勒市| 阳春市| 高州市| 紫阳县| 小金县| 荣昌县| 榕江县| 鹤庆县| 囊谦县| 耿马| 北安市| 岱山县| 陆丰市| 定日县| 勐海县| 边坝县| 苍梧县| 承德市| 温宿县| 修武县| 台东市| 县级市| 上高县|