MTL - Internet 2010-Chapter 4 Automatic registration machine
Early the next morning, Fang Qiang came to Lu Zhou's residence.
As soon as he entered the door, he said to Lu Zhou excitedly, "I chug, Brother Lu, your door has been splashed with red oil, what's the matter? And do you know the beauty in the convenience store downstairs? "
Lu Zhou looked at Fang Qiang, who was blushing and excited, and was also amused, "Don't worry about the door, it's a bit of a mess. As for the clerk downstairs, they know each other, but they don't know how to talk, why? Have an idea?"
Fang Qiang chuckled, "I don't have any idea. Let Xiaoyun know that he cut me in minutes."
Lu Zhou also made a joke and put on a monkey-stealing peach move, "Yes, yes, do you want to cut this. Xiaoyun is also domineering."
Fang Qiang was called a big embarrassment, who made himself a strict wife, and called his girlfriend Xiao Yun a submissive, and quickly changed the topic, "Hehe. By the way, sister-in-law, how about going out today? I was still thinking about being able to do it at noon Let's have lunch, sister-in-law's braised pork is on time."
Most of Lu Zhou's friends know that Lu Zhou regards Wen Jing as his treasure, and Wen Jing is also full of virtuousness and can be called a model for his sister-in-law. At this time, Fang Qiang thought he had scratched Lu Zhou's itch, thinking Let the old man Lu Zhou be happy, and lunch may be added.
Lu Zhou was speechless, why didn't he know what Fang Qiang was thinking, "Break up. For lunch, braised beef noodles, add a Shuanghui ham sausage for you, and make up a otaku set meal."
Fang Qiang's eyes widened, "Ah? No, what happened to Brother Lu?"
Lu Zhou said angrily, "What else can happen, it's as simple as breaking up."
"Well, um, no. You're not a fake Brother Lu, why are you so calm? Don't think about seeing the red dust at a young age. Is it the paint outside..."
"Okay, I can't understand it myself. You don't tm gag, and I'll feel at ease after writing two bugs. The code repository is in the local area network. Check the arrangements and try to finish it as soon as possible."
Fang Qiang also touched his head embarrassedly, "Isn't this a student, with limited practical experience, I need more advice from Brother Lu."
This time, in order to save some money quickly, Lu Zhou chose the business of buying and selling scarf fans. At that time, some netizens with quick minds also took aim at this way, but the scale was generally not large.
If Lu Zhou wants to emerge, he needs to expand the scale through program tools, and strive to earn enough money before the real-name system for the bib and the annealing of the bib.
Lu Zhou divided the program functions that need to be written into two main parts, one is the automatic registration machine, and the other is the automatic operation machine in the scarf that pays attention to forwarding comments and so on.
In the future, some automatic content generation may be added to deal with the action of cleaning up zombie fans in the future.
But at the moment, the bib is gaining momentum, and the problem has not yet reached the point where it cannot wait to be solved, and it can be gradually improved in the future.
To realize the program of the automatic registration machine, you need to grab the email registration page first to obtain the form name and submission address.
Next, the registration machine randomly generates an account number and password, and submits the account and password combination form name simulation to the submission address to complete the email registration.
After the mailbox is registered, it is to grab the bib registration page, submit the mailbox password, etc. to complete the bib registration.
Finally, simulate logging in to the mailbox and request a link for mailbox authentication.
Then the program keeps the account password in the database, and the whole registration process is completed.
Thanks to the early mailbox service providers only limited the number of registrations per ip to less than five per day, and did not add mobile phone number verification, the implementation of automatic batch registration is much simpler.
After all, in the early 2010s, the wool party was not so rampant, and most Internet companies turned a blind eye to this kind of batch registration.
Roadboat only needs to buy a network proxy ip, and after each ip registered mailbox reaches the upper limit, switch to another ip and register again.
The verification code recognition is a little more troublesome. At present, the machine learning framework of Brother Gu is still too early to leave the source. It seems a bit overkill to build a machine learning model to meet the verification code recognition.
He looked for relevant service providers on the Internet and found that there were already some coding platforms.
With these coding platforms, the program only needs to submit the generated image of the verification code in each registration to the interface of the coding platform.
The coding platform will distribute the verification code to the downstream earners. After they identify the verification code with the naked eye, they will submit the result to the coding platform, and the coding platform will return the result to the registration machine of Luzhou.
"Sure enough, Huaxia is probably a person who has never been short of brains. These are all forced demands, such as a train ticket booking online student Wulian's verification code series. Although these coding platforms have really encouraged scalpers And the raging of the wool party, but with this, it is convenient to automatically register the scarf. And the cost is low enough, ordinary English and digital codes are 200 yuan. Probably, the coding platform will be divided, and the net earners will also earn It's just hard-earned money." Lu Zhou thought.
Because the automatic registration machine involves only the registration page that needs to be grabbed, the page structure is simpler, so Lu Zhou first purchased the network proxy ip, recharged a few hundred yuan to the coding platform, and then handed over the program of the automatic registration machine to It is up to Fang Qiang to complete it.
As for the automatic operation machines such as the scarf, attention, forwarding and comments, it is more troublesome than the automatic registration machine.
At this time, the bib has no open data interface, UU reading www.uukanshu.com can only log in through simulation, and then execute it after matching elements through the grabbed page.
This is also accompanied by a problem. Once the web page is greatly revised and modified, the program may fail, and Luzhou can only do it again.
Lu Zhou, while thinking about the method of the program, also considered the cost, "The network proxy IPs of ten service providers cost eight or nine hundred yuan a month, and each has about a hundred proxy IPs. According to each IP, five per day. Account, you can register 5,000 mailboxes and scarves a day, one verification code for each mailbox and scarf, a total of 10,000 verification codes for 50 yuan a day. Well, it’s about 2,000 yuan, 150,000 accounts. It’s not expensive, not to mention Each account can follow and forward multiple times.”
"Let's set up the program first. If it doesn't work, it will be used as a drug test. What's more, Ali Mall is currently only a small-scale manual registration of sellers."
Immediately, Lu Zhou did not hesitate, opened the editor and began to write the program of the automatic manipulator.
At noon, Lu Zhou, who had eight years of programming experience in the previous life, completed the functions of simulated login and attention, while Fang Qiang's progress was a little slow, and he had to stop and think about it from time to time.
Lu Zhou patted Fang Qiang, who was still concentrating on coding, "Let's go, take a break and eat, and if you don't understand, you can discuss it."
Fang Qiang also touched his head, "There are few actual operations, Brother Lu. It is written and written that many function calls will be stuck for a while, and occasionally some problems will pop up."
Lu Zhou also encouraged, "Go, let's go. Everyone comes here like this, just write more."
Fang Qiang also regained his hippy smile, "Isn't lunch a otaku set meal with braised beef noodles?"
Lu Zhou also gave him a head, "I still have money for the next restaurant, please go to the restaurant, you have to come back to work after eating."