Python - Faced with a string containing garbled characters, how to remove the required information
过去多啦不再A梦2017-05-27 17:39:48
0
1
711
This is the train information that I saw based on the network on 12306. In order to prevent crawlers, he set up garbled codes. What should I do to find the train time and other information from the garbled codes?
2. This is not garbled code, it may be some encoded text or encrypted information.
3. If you want to know what this information is, you should consider whether this string is base64 encoded, whether it is encrypted, how to turn it into plain text information, or whether the train number itself has not been encoded, and whether the train number information can be directly seen.
4. If this information comes from ajax, then it is very likely that this information is handed over to the front-end js for decoding processing and display, so the decoding method should be studied by yourself on js
1. You can post code but not pictures.
2. This is not garbled code, it may be some encoded text or encrypted information.
3. If you want to know what this information is, you should consider whether this string is base64 encoded, whether it is encrypted, how to turn it into plain text information, or whether the train number itself has not been encoded, and whether the train number information can be directly seen.
4. If this information comes from ajax, then it is very likely that this information is handed over to the front-end js for decoding processing and display, so the decoding method should be studied by yourself on js