123456789101112131415161718192021222324252627 |
- #!/usr/bin/env python
- # -*- encoding: utf-8 -*-
- '''
- @Contact : liuyuqi.gov@msn.cn
- @Time : 2023/07/11 20:26:23
- @License : Copyright © 2017-2022 liuyuqi. All Rights Reserved.
- @Desc :
- '''
- import os
- import sys
- import re
- import argparse
- import logging
- from fuck12306 import Crawl12306,CrawlCaptcha
- if __name__ == '__main__':
- print("---------------fuck12306-----------")
- crawl12306 = Crawl12306()
- # crawl12306.monitor()
- # crawl12306.get_code_pic(299)
- # crawl12306.get_code_pic2(10000)
- # 验证码识别
- crawlcaptcha=CrawlCaptcha()
- # crawlcaptcha.recornize_captcha()
- crawlcaptcha.gen_label()
|