If the history was cleared or overwritten after reinstalling, it’s hard to recover directly from Opera. You might try checking synced data or backups if you had sync enabled kind of like how bigintoenergylabubu helps track things you don’t want to lose.