- 6环外进京证自动续期脚本
- 六环外进京证自动续期脚本
- 本脚本需要两个外部依赖
- 使用抓包工具抓取接口地址(为防止给国家机关造成损失,脚本中删除了 api 地址)
- 使用企业微信或钉钉通知查询状态和办理状态(这两个机器人通知接口,很好申请,自己申请就行)
- 抓包工具:VNET(这个工具相对比较小白,自己百度或谷歌即可)
- 通知工具:为了每天能方(免)便(费)的收到及时结果通知,你可以申请企业微信或钉钉的群机器人接口,都是免费的。
- 使用 crontab、或者使用定时任务系统(gocron)即可
- 为方便不懂代码的同学,最大限度降低门槛,我自己搭建了一个小程序(首月免费,后续按月收几块钱服务器费用)。
- 在【首页】-【进京证】里,一键完成绑定,后续可以在小程序里查看结果,关注公众号后,可以及时收到办证通知。
- 公众号二维码图片放下面了,需要的同学自己扫码关注就行。
![](https://private-user-images.githubusercontent.com/12424760/299879454-c3db6695-585e-4a36-b873-41aa1625e4db.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM0NzYyNjMsIm5iZiI6MTcyMzQ3NTk2MywicGF0aCI6Ii8xMjQyNDc2MC8yOTk4Nzk0NTQtYzNkYjY2OTUtNTg1ZS00YTM2LWI4NzMtNDFhYTE2MjVlNGRiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODEyVDE1MTkyM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTYzMmViYTQwYTIxNzI5YzU0ZjlhMTlmZDQ3YjgzMmYwNjVkMDk2MjlmNTZmMDZiNThlNzkyZTc4NDY2ZDM0ZmEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.BdKwuzP6AsHep2_5jrpMD7PLWTRuIJ4FQzHi97H8PDA)
![](https://private-user-images.githubusercontent.com/12424760/273426882-1122a3b2-0336-4509-beb0-a0ea57f10ebf.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM0NzYyNjMsIm5iZiI6MTcyMzQ3NTk2MywicGF0aCI6Ii8xMjQyNDc2MC8yNzM0MjY4ODItMTEyMmEzYjItMDMzNi00NTA5LWJlYjAtYTBlYTU3ZjEwZWJmLmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODEyVDE1MTkyM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThhMzc3NzFiNTE1ZDY2NjY2NmJmMmFmMjhlY2I3YjU5Y2RhM2ZjMmE3ZjFhZTJkNmY3ZTY4MGE4ODkwMTU3ZmEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.WtwH7Gsr7nEzA3Kz2ttegMCC8k63-rNApQFdGNR6ZWA)
![](https://private-user-images.githubusercontent.com/12424760/288322183-41623c76-6b6c-4795-a828-9f8c9fd4329a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250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