python的12306抢票
时间: 2023-08-20 21:07:02 浏览: 128
抢票是指通过自动化程序快速抢购火车票的行为。在Python中,可以使用selenium库来模拟浏览器操作,实现自动登录和预订火车票的功能。首先,需要注意的是要设置爬取速度限制以避免被封IP。另外,由于12306的图片验证码复杂,登录时需要手动选择验证图片。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [使用Python实现12306自动化抢票](https://blog.csdn.net/mengliuqing123/article/details/116033898)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *3* [Python LoRA 模型查询笔记.md](https://download.csdn.net/download/weixin_52057528/88221151)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文