In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "how to achieve 12306 intelligent ticket brushing program on Github". The content of the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "how to achieve 12306 intelligent ticket brushing program on Github".
Thought map:
It still looks a little complicated.
Program installation
I am a Windows10 system and have Python3.6 installed (no Python2 installed). The program was successfully installed using the following steps:
Step 1 download and extract the Github code
Click the green box Clone or download in the figure.
Step 2 installation
The commands we use are:
Pip install-I https://pypi.tuna.tsinghua.edu.cn/simple-r requirements.txt-- user
Note that we need to go to the unzipped folder for terminal installation, because the requirements.txt file is required during the installation process.
What I have here-- user is added to avoid permission problems.
Experience program
After successfully installing the program, I briefly experienced the program:
The first step is to modify the profile
Open the TickerConfig.py file and fill in the account password and the name of the passenger.
Step 2: filter cdn
According to the reminder on the home page, let's run:
Python run.py c
The third step to run the program
Officially run the program after the first two steps are ready
Python run.py r
After running, it is found that the verification of the verification code failed:
The fourth step is changed to local coding.
Due to the failure of cloud coding, I changed the parameters responsible for local coding in the TickerConfig.py file:
Run the program again or jump on the street:
Well, the error lies in the image recognition code.
Since I had no actual demand for tickets, I didn't go any further.
Suggestion
I believe there will be a lot of problems in the actual process of running the program. In fact, Github has already reported a lot of problems (issue):
Thank you for your reading, the above is the content of "how to achieve 12306 intelligent ticket brushing program on Github". After the study of this article, I believe you have a deeper understanding of how to achieve 12306 intelligent ticket brushing program on Github, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.