I am trying to extract tracking numbers from aliexpress by manually writing a python script to use something like selenium. However, I have never used selenium and I also do not have any skills in web dev. Just a self-taught python guy, so I dont really know how I should go about trying to get this login flow to extract the tracking numbers.
I searched around and couldnt find anything to get me going, but I know it must be possible programmatically because I use an android app called ‘Parcels’ and I can import all my aliexpress tracking numbers by providing my username/password combo. Unfortunately, the Parcels API is more geared towards commercial customers and I dont want to pay the subscritption fees to track < 20 parcels a month using the API. I cant really see a way to extract the data from the parcels app to HASS, so I am trying to get the tracking numbers myself.
Am I coming at this appropriately? Are there better methods or something that I can customize to my use case? Has anyone else tried this and succeeded?
I did try an email parsing approach but the aliexpress emails only contain order numbers. It seems to be a requirment to login in order to get to the tracking numbers.