When using a desktop browser and adding items to wish list on Aliexpress, those products get added to the default wish list. After a while your default wish list will get full and you cannot add items into any wish list as the wish list button only adds items to the default wish list, from where those can be moved to other wish lists. There is no simple way to see the contents of the default wish list, so cleaning it up is difficult. I got frustrated enough with this and created a solution that at least makes the job easier:
To get the titles of the items that are in your default wish list:
- Open the developer console in the browser and select the network tab
- Navigate to the wish list page on Aliexpress
- Scroll the page down in order to fetch more items into the list
- Add "2.0" into the filter bar
- Copy the responses of all the requests and paste them in a list (i.e. start with "[", add "," between responses and end with "]")
- Copy the resulting text to clipboard and head to https://calmm-js.github.io/partial.lenses/playground.html
- Open the developer tools and paste "window.data = " followed by the text created in earlier steps, into the console (if the console is not visible, press ESC)
- Insert the following into the console and press enter "var res = L.collect(L.query(L.when(R.propEq(0, 'groupId')), []), data)"
- Paste the following into the console to copy the result into the clipboard "copy(res)"
- The resulting list contains the topics of all the items that are in the default wish list. To remove / move the items to another wish list, search them from the wish list page (note: the page is refreshed after moving items to another list and thus you will need to scroll down the page to see the items you want to move)
Further info:
The Aliexpress API seems to use some kind of signing of the requests. This prevents creating and running requests that would remove the items from the wish list. The documentation seems to be public and there is a library for the API in NPM: https://www.npmjs.com/package/aliexpress-api.
Thanks again for all the work you put into this. It's greatly appreciated,