Skip to content

Instantly share code, notes, and snippets.

@gadgetmies
Last active July 9, 2024 15:47
Show Gist options
  • Save gadgetmies/a0e72a08f3d9a964f819d855d4551a96 to your computer and use it in GitHub Desktop.
Save gadgetmies/a0e72a08f3d9a964f819d855d4551a96 to your computer and use it in GitHub Desktop.
Resolving Aliexpress default wishlist full issue

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:

  1. Open the developer console in the browser and select the network tab
  2. Navigate to the wish list page on Aliexpress
  3. Scroll the page down in order to fetch more items into the list
  4. Add "2.0" into the filter bar
  5. Copy the responses of all the requests and paste them in a list (i.e. start with "[", add "," between responses and end with "]")
  6. Copy the resulting text to clipboard and head to https://calmm-js.github.io/partial.lenses/playground.html
  7. 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)
  8. Insert the following into the console and press enter "var res = L.collect(L.query(L.when(R.propEq(0, 'groupId')), []), data)"
  9. Paste the following into the console to copy the result into the clipboard "copy(res)"
  10. 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.

@gadgetmies
Copy link
Author

Thank you for testing the instructions! I'm glad to hear I was able to help!

Thanks also for pointing out the shortcut issue in the instructions. I am using a Mac, and only assumed that the shortcut would be similar on Windows. I now updated the instructions with the correct shortcut and also improved the readme a bit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment