packt-cli / Packt-Publishing-Free-Learning

Scripts that automatically claim and download free daily eBooks from https://www.packtpub.com/packt/offers/free-learning

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create unique products list when fetching all products list

mjenczmyk opened this issue · comments

The list of all user's products may contain duplicates (as different day's Free Learning ebooks are treated as different items with the same product ID). That causes skipped downloads - we could avoid this misleading situation by creating list with unique product IDs.