Some experience with TiKTok Spider switch launguage from Python to Java
Some experience with TiKTok Spider switch launguage from Python to Java
On 17th January, I don’t know why I got the idea of this operation, but magic is I did, with the cost of two days I achieved the function of using cookies to log into TikTok (DouYin) automatically, and today, I switched the web driver from local to selenium grid, but before this action, I also passed the try of connecting local chrome (debug mode), yeah, all is well besides I can’t operate mouse in chrome driver. I saw the comment before I tried and knew this problem. So I switched Webdriver to selenium grid (Maybe just more like the version of Python), and then I processed that big bug (oh, maybe yesterday I had solved this problem), refactored code, and added some features, such as finding elements, write info to document, etc.
Now, I have committed two commitments to GitHub, and the features of the first phase were finished, during the next phase, I am supposed to add loops of getting information (Author, Content, Detail_Href), and get comments, the following action is beauty JSON data, etc.
Digest knowledge from websites daily carefully. Stay Hungry, Stay Foolish.