一段时间以来,我一直在试图弄清楚如何从中获得价格。有人可以向我解释一下如何从该网站提取数据的示例吗?它可以是 requests、beautiful soup、scrapy 或 selenium。我只是想找到一种方法来获取这些隐藏的元素。我正在使用 python 3.8 macOS。网址:https://www.booking.com/searchresults.html?label=gen173nr-1DCAEoggI46AdIM1gEaJgCiAEBmAExuAEHyAEM2AED6AEB-AECiAIBqAIDuAKJn_76BcACAdICJDU3YTg4ZDhiLTRkZmUtNGNlYi1hZGYxLWFiNjNiY2NjOGNhM9gCBOACAQ&sid=c3b17be33020b4a83d961a9fc14cf31d&sb=1&sb_lp=1&src=index&src_elem=sb&error_url=https%3A%2F%2Fwww.booking.com%2Findex.html%3Flabel%3Dgen173nr-1DCAEoggI46AdIM1gEaJgCiAEBmAExuAEHyAEM2AED6AEB-AECiAIBqAIDuAKJn_76BcaCAAdICJDU3YTg4ZDhiLTRkZmUtNGNlYi1hZGYxLWFiNjNiY2NjOGNhM9gCBOACAQ%3Bs id%3Dc3b17be33020b4a83d961a9fc14cf31d%3Bsb_price_type%3Dtotal%26%3B&ss=马里博尔&is_ski_area=0&ssne=马里博尔&ssne_untouched=马里博尔&dest_id=-88556&dest_type=城市&checkin_year=2020&checkin_月=9&checkin_monthday=16&checkout_year=2020&checkout_month=9&checkout_monthday=18&group_adults=2&group_children=0&no_rooms =1&b_h4u_keep_filters=&from_sf=1
添加回答
举报
0/150
提交
取消