I am currently working on a script to scrape the key information for all your Desura games (http://www.desura.com/collection).

The basic idea is that you can manually, scrape all or one game Key page(s).

Then, when the script knows that some specific game has a steam key, and/or a GOG key it can insert those icons in its row, to let you know. Then, if you click the icon, it would show you the keys, somehow.

INSTALL V2.7
Tested on Firefox and Chrome w/ Tampermoneky. Script requires Tampermonkey on Chrome.
Opera also has a Tampermonkey extension that should do the trick.
There is also a second Opera extension Violent Monkey, and two Safari extensions NinjaKit and GreaseKit which should work, but absolutely no testing has been done on them. And all three of them, at the time of this writing, lack the ability for me to add keys directly into the clipboard.

(People with old versions should auto update at some time, at least that is what is supposed to happen)

Released V2.7: Added export game download list.
Somehow it lost the ability to designate a file name, it was working a minute ago and then for no reason it stopped. Might just be for me, I did not touch the code.
Released V2.6: Made export more universal. Tested in FF and Chrome.
Released V2.5:

  • Fix game icon greyout incorrectly applying in some instances
  • Fix the menu resetting the selection when it should not a few times.
  • Added Total delete (technically should be the same as 'Clear Storage' but is unaffected by your current select, and will work if your data is corrupted)
  • Import/Export

Released V2.4: Stable, feature complete release.

  • Fixed some buttons not working bug
  • Prevent staring unscanned games
  • Fixed filter/searching collection screwing up the "new count", completely redesigned system.
  • Added processing counter, showing current number of games with scans in progress.
  • Added Main Menu:
    • Selection of additional filters to apply. (These filters, in addition to the ones normally on the Collection page also work for all mass script events. "Scan all", for example, scans the current selection only.)
    • Scan all unscanned
    • Unstar everything
    • Generic information and script use instructions.

Released V2.2.1: Fixed multiple issues that sometimes caused the key menus to be hidden by content on top of them.
Released V2.2:

  • Added check for GM_setClipboard capability, alternates to prompt(Allows script to work in all/most of the outdated userscript managers)
  • Wrapped key title in span.dcks_title, for use in prompt
  • Game Menu: Toggle Star, Clear Data
  • Shows current number of scans in progress

Released V2.1: Fixed the crashing during full scans.
Released V2.0: The remake for the changed site and merged the two versions into one.
Important: This is a very early version of the 2.x remake, and as such has a few bugs and loads of missing features. Most notable, in the browsers I have tested it on, moderate sized collections crash the browser/page when scanning all games. If you give the script a minute, it will correctly scan your entire library, but will never recover from this. Close the page and open a new one to see the results of the scan.


Old links V1.4 Userscripts.org Static Mirror Userscripts.org Static Mirror (FF)

Released V1.4: Old method: empty key text box (=== '') meant Not Yet Claimed, randomly did not work for some text boxes, even ones that were identical (as far as I could tell) to the ones it worked on. New method: check if button says "Get", if "Get" than Not Yet Claimed.
Released V1.3: Fixed the Options column to actually work.
Released Version 1.2

  • Fixed basic stats (number of games, number of new keys), so that it only appeared once
    • Added unscanned games to the "new" stat
  • I think the "Scan All" button appeared in two placed in the FF version, this is fixed now
  • I merged the code from the FF version with the Chrome version, so that adding jQuery is the only difference
    • Did not actually text the new additions on FF, but 90% sure it should work
  • Disable Scan All button while scanning, and replace the text with "Working..."
    • The dots change as it scans, so you know it is working
  • Clicking the "Option" column header toggles all non new and scanned games hidden
    • Was not able to test this fully, as I did not have any new or unscanned games
  • Fixed the key detail rows so that problems no longer occur when filtering.
1 decade ago*

Comment has been collapsed.

After some fighting with Chrome about the security options & scripts enabling and after some work around I finally made it work and it's BRILLIANT! It even found a key I missed! So thank you sir, this tool is really nifty :)

9 years ago
Permalink

Comment has been collapsed.

One thing I have noticed a few times is often the entries for IndieRoyal Steam keys appear before they are on their site. For example Murder in the Hotel Lisbon, right now has a Desura collection steam key slot, that asks you to get the key on IndieRoyal, but it is not on the IR site yet.

9 years ago
Permalink

Comment has been collapsed.

You can still get it by using the Desura client or by changing the browser's user agent to "Desura"

9 years ago
Permalink

Comment has been collapsed.

Really? I will have to try that. No idea why they would not allow browser, but allow Desura. Do I just add Desura to the user agent, or does it have to be exactly "Desura"?

9 years ago
Permalink

Comment has been collapsed.

It has to be exactly "Desura".

And I think it's more of a bug (or an oversight) rather than something intentional. They often add the Steam key for the Desura buyers then unlock it inside the bundle. If you redeem the key from the bundle page, that key shows up in Desura too. If you get it from Desura first, you can still claim one from the bundle page, thus effectively giving you 2 different keys.

9 years ago
Permalink

Comment has been collapsed.

Very nice implementation! Thanks!

9 years ago
Permalink

Comment has been collapsed.

Great, Desura completely changed the layout of the collection page. The script is't working anymore.

9 years ago
Permalink

Comment has been collapsed.

But the new layout allows you to filter by whether or not the game includes a steam key, so that makes it very easy to get your keys without this script

9 years ago
Permalink

Comment has been collapsed.

But it doesn't tell me if I have any unredeemed key.

That's 344 games I have to track manually.

9 years ago
Permalink

Comment has been collapsed.

+1

I have, uh, WAY too many games on Desura and I loved the scraper because it helped me find unused and ungenerated keys I had sitting there. Just filtering by Steam key doesn't help me. I can't remember what all I already grabbed the keys from and which I did not so I'd literally have to check through hundreds every time.

9 years ago
Permalink

Comment has been collapsed.

Yeah, but it isn't accurate, it claims I have steam keys in games that doesn't or have provided them by other way.

9 years ago
Permalink

Comment has been collapsed.

Ya, what is with that... Does anyone know if it is just broken, or maybe it is sorting by if the game is also on Steam?

9 years ago
Permalink

Comment has been collapsed.

That seems to be what it's doing. Sorting by games that are also on Steam, that is. Or perhaps based on games that will give you Steam keys if you buy them now on Desura/Indie Royale (as opposed to having already gotten them from some other source like Groupees etc).

I just went through 278 :-P games in my list when I filtered by Steam keys and all were actually on Steam but a fair bit didn't have Steam keys attached to my account. It's definitely going on some status attached to the game itself in its Desura listing and not on what keys are in your account.

9 years ago
Permalink

Comment has been collapsed.

Yah. It shows Steam-key, if buyers on desura can get one.
(Bundle buyers can't get keys unless allowed.)

9 years ago
Permalink

Comment has been collapsed.

Thanks for bringing that to my attention.
As far as I can tell, the interface is is still a little buggy (as mentioned in a post below). So will wait a little while to update the script, as in all likelihood they will update the website rapidly as they work out the bugs.

9 years ago
Permalink

Comment has been collapsed.

Saw this just now! Thanks, OP! :)

9 years ago
Permalink

Comment has been collapsed.

Hi there! I'm doing a "ress" on this topic because Desura changed it's interface and the code isn't working anymore. I used it a lot and now I'm missing it! Will you create a new version?
Thanks!

9 years ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 4 years ago.

9 years ago
Permalink

Comment has been collapsed.

But with this code I have a "black" steam icon showing I still didn't got the game, and a "gray" steam icon showing I already took it!
Now we don't know for sure if we have a new key or not :/

9 years ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 4 years ago.

9 years ago
Permalink

Comment has been collapsed.

Thought it shows steam icon even if you aren't allowed to get keys, so it's useless.

9 years ago
Permalink

Comment has been collapsed.

Yep, will definitely be updating the script in the next few days or week.

9 years ago
Permalink

Comment has been collapsed.

And thanks again! :D

9 years ago
Permalink

Comment has been collapsed.

Thank you. very forward to it

9 years ago
Permalink

Comment has been collapsed.

Just wanted to let everyone know that I am working on it currently, and nearing completion. And it will be way better than before. Everything has been overhauled and improved. Expect a release tonight or tomorrow. It should install over your old installation and use your old saved data.

Best new feature: I have completely redone the saved keys menu with JQuery UI Menu, and integrated the newish GM setClipboard feature to allow the menu to copy the key to your clipboard on a click.

9 years ago
Permalink

Comment has been collapsed.

Cool, thanks!

9 years ago
Permalink

Comment has been collapsed.

That's some great news. Thanks for the work you put into this.

9 years ago
Permalink

Comment has been collapsed.

Released 2.0. This is a very early buggy release (see main post), but gets the job done (I got a new Steam key from it).
Will be taking a break from coding to catch up on gaming, but rest assured that I will not leave the script in such a buggy mess.

I get a free review copy of The Journey Down Chapter 2 (steam) a few days ago. Looking forward to dig into that.

9 years ago
Permalink

Comment has been collapsed.

First of all, thanks again for your work. I have two questions for you:

  • Is there any way that your script could tell if (ideally also which) new Steam keys are available since the last scrape?

  • Do you have any idea what's the story with games that have the Steam icon (from the Desura page itself, not added by your script) but don't offer any Steam key?

9 years ago
Permalink

Comment has been collapsed.

  1. That is what the star is for. It highlights changes. Clicking the Collection(numbers) filters out all non stared (and not scanned) entries. So after you dismiss your old changes, the only stars will be from changes. Meaning, stars are not dismissed just by rescanning, you need to mouse over the icons (the script inserted icons). Also try clicking the icons for the key menu.
  2. The Steam Key Games appear to be games that are also on Steam (or maybe games that offer steam-keys to some subset of their purchasers [if you bought the key through the right bundle, etc.]). But that does not mean you are entitled to a steam key from them. Most of them do not list a steam key for me.
9 years ago
Permalink

Comment has been collapsed.

  1. Brilliant. I'll take another look.

  2. Simply also on Steam, no. Subset theory, probably, still it seems stupid on Desura's part to state "includes Steam key" in the mouseover text when most games don't. In any case this is beyond the scope of your script, but since you clearly spent some time figuring out their system, I thought I'd ask. :)

9 years ago
Permalink

Comment has been collapsed.

Great work! Thanks for the script wis,
it really makes things much easier!

9 years ago
Permalink

Comment has been collapsed.

Bug: You don't get any notification when adding a new desura key through the gift box

9 years ago
Permalink

Comment has been collapsed.

You mean, my script prevents the notification that would normally happen?
Because my script should not effect that functionality.

9 years ago
Permalink

Comment has been collapsed.

Thank you for the update!

9 years ago
Permalink

Comment has been collapsed.

released V2.1

9 years ago
Permalink

Comment has been collapsed.

How does the scraper work exactly? I see the tampermonkey on desura/collection page. But no clue how to run it?

9 years ago
Permalink

Comment has been collapsed.

The script will run automatically if installed correctly. You should see a "1" on the Tampermonkey icon indicating one script is running, And there will be a "(stuff)magnifying glass" next to the title "Collection" and a second row under all of your game boxes.

To run it for all games, press the magnifying glass next to "Collection". The games will gray out, and then start to return to normal as their results get tabulated.

Then the second row will be filled out with the icons for all the keys it offers. Dark for unclaimed keys, greyed out for reclaimed keys. Also changes, which will be every game with any keys at all for the first scan, will display a star. Which will stay until you mouseover the icon list. You can also filter out all game with no current changes by clicking the "(#:#)" next to "collection". The second # is the number of changes.

9 years ago
Permalink

Comment has been collapsed.

Clicking on the #.# makes it a blank page :\

But if I go manually through the list I can see it has starred new things, so it's working that far :)

9 years ago
Permalink

Comment has been collapsed.

You are right, thanks for spotting that. It was working, originally, must of changed something that effected it.

9 years ago
Permalink

Comment has been collapsed.

thx for explanation! Really helped :-)

9 years ago
Permalink

Comment has been collapsed.

V2.2 released

9 years ago
Permalink

Comment has been collapsed.

Can you make it get all the keys available and put them in clipboard?

9 years ago
Permalink

Comment has been collapsed.

In what way?
You mean sequentially, so that clipboard managers will have a big listing of keys (most people do not use these)?
And for every game? Thousands of keys, potentially? or what?

9 years ago
Permalink

Comment has been collapsed.

Yeah, all of them. :)
Let's say I want all the keys of all the games copied and pasted to text document, for backup purposes.
It would've been tedious task to copy each game name, then Steam key, then Desura key, and so on... So it would be great there's a option for that, or perhaps one link/button for downloading a txt file with all that info.
Thanks!

9 years ago
Permalink

Comment has been collapsed.

Export added.

9 years ago
Permalink

Comment has been collapsed.

Where does it export to??

9 years ago
Permalink

Comment has been collapsed.

It just sends it to the browser. Your browser should just use whatever default file download behaviour it normally uses.

9 years ago
Permalink

Comment has been collapsed.

Nope. It asks me bunch of questions with popup form like "Enter Name/Value Pair Separator:", "Enter Name/Value Pair Ending:", "Enter Title:Key Separator:", "Enter Keys Separtor:" and nothing happens.

9 years ago
Permalink

Comment has been collapsed.

V2.6 should fix that.

9 years ago
Permalink

Comment has been collapsed.

Yep. It did!
Thanks!

9 years ago
Permalink

Comment has been collapsed.

BTW, the last row of games is not working... when I click on Desura/Steam icon, nothing happens.
(Firefox, Greasemonkey)

9 years ago
Permalink

Comment has been collapsed.

Ya, I noticed that. It is not that it is not working exactly, but the menu is completely covered my the bottom of the page.

9 years ago
Permalink

Comment has been collapsed.

Fixed in latest release 2.2.1

9 years ago
Permalink

Comment has been collapsed.

Cool, thx!

9 years ago
Permalink

Comment has been collapsed.

Very nice, thank you. I'm glad your script is back, it was a nightmare without it!

9 years ago
Permalink

Comment has been collapsed.

more info button stop works when script on at Chrome

9 years ago
Permalink

Comment has been collapsed.

Good catch, also interrupts "Play"

Really weird how keys still work, and favourites. I have no idea how half the buttons can work and the other half not. Anyway, the fix is simple. Will upload latter today.

9 years ago
Permalink

Comment has been collapsed.

2.4 Released: Stable and Feature complete.

9 years ago
Permalink

Comment has been collapsed.

Thanks.
Seemed to work fine here.

9 years ago
Permalink

Comment has been collapsed.

2.5 released
Few bugs, few features added (import/export).

9 years ago
Permalink

Comment has been collapsed.

thanks for update!

9 years ago
Permalink

Comment has been collapsed.

Thank you for your hard work!

9 years ago
Permalink

Comment has been collapsed.

Version 2.6 released. Export fix for non-Chrome users

9 years ago
Permalink

Comment has been collapsed.

bump, great tool

9 years ago
Permalink

Comment has been collapsed.

Sorry to bump this old thread but since Desura is having their financial problems and a lot of the games aren't on steam yet, I would like to make a feature request:

Is it possible to export all download links for the games on the collection page to the clip-board or a text file of some sort?

8 years ago
Permalink

Comment has been collapsed.

Lol I just wanted to post that. So I echo this post.

Would be wonderful to be able to mass download our installers using the exported text file containing links.

8 years ago
Permalink

Comment has been collapsed.

Don't think you will get a notification unless I respond to you directly. Done.

8 years ago
Permalink

Comment has been collapsed.

Done

8 years ago
Permalink

Comment has been collapsed.

Version 2.7 Released. Added Export Game Download Link List. It scraps (can take awhile) every single games downloads and prints it to a file designed to be read by a spreadsheet or notepad program (tab separated values).

8 years ago
Permalink

Comment has been collapsed.

Thank you very much.

8 years ago
Permalink

Comment has been collapsed.

Brilliant.

8 years ago
Permalink

Comment has been collapsed.

Thank you!

8 years ago
Permalink

Comment has been collapsed.

ironically the three games i hadn't claimed keys won't do it now either

8 years ago
Permalink

Comment has been collapsed.

Somehow I can't see all my games under "collection" using the browser, it only shows me 53 games, while the Desura client tells me I own 208 games. Does anyone know why it happens? This script only shows keys from the games that appear on browser, so I can't get all of them.

8 years ago
Permalink

Comment has been collapsed.

Hi, thank you so much for this script! I used it and it worked perfectly to find all my unclaimed steam keys.

One question though:
I wanted to export all my keys via the "Export" Command and I even get a .csv for download. However, the list is incomplete, the file just ends after 766 rows.
If I export all download links, I get a complete file.

Would be really nice if you could have a look into this.

8 years ago
Permalink

Comment has been collapsed.

And how many keys do you have? Does it go down the list alphabetically by game title and suddenly stop halfway? What is the last game it records? What was the game right after that one?

8 years ago
Permalink

Comment has been collapsed.

Thinking about it. It only exports scanned games. So make sure you have everything scanned, then close and reopen the page (for good measure, not strictly necessary) and export the list again. Mine shows every single game I own (as far as I can tell).

You can also try clearing your storage and rescanning everything.

8 years ago
Permalink

Comment has been collapsed.

Hi and thanks for the quick response.

I cleared the storage and scanned all games again, but the list is still incomplete.

However, I had a closer look at where it ends specifically and the file ends with the following line:
porradaria-upgrade_DESURA"="Groupees Bundle-in-a-Box

So it ends directly in the "name" of the key. I looked up the game and the key name is "Groupees Bundle-in-a-Box #2". So I suppose the script has a problem with the hashtag?

Hope this helps!

8 years ago
Permalink

Comment has been collapsed.

Thanks for looking into that, must be the hashtag. Does the script act normally otherwise? Does the script display the correct key in the games menu (click on the second rows icons)?

8 years ago
Permalink

Comment has been collapsed.

I also had a key with a hash in the name of the key. It is displayed correctly in menu (from Steam icon), but export stops at hash.
I think I used Clear from that menu (or was it Toggle?) for just that key, so that script ignored it.

BTW, thanks for the script.

8 years ago
Permalink

Comment has been collapsed.

Oh, good thinking.

Clear would remove it, allowing you to export around it.

I had a look at the code, and it really did not make sense. If the code errored, it should not have exported anything. So I not sure how the problem comes about. What browser/userscript manager do you use?

8 years ago*
Permalink

Comment has been collapsed.

I have Windows 7, Firefox 38.x, Greasemonkey 3.2 and v2.7 of this script.

8 years ago
Permalink

Comment has been collapsed.

Ubuntu 14.04, Firefox 38.0, Greasemonkey 3.2 and v2.7 of this script.

8 years ago
Permalink

Comment has been collapsed.

Thanks for the tip, that worked for me too!

8 years ago
Permalink

Comment has been collapsed.

Thank you very much for this!

8 years ago
Permalink

Comment has been collapsed.

Sign in through Steam to add a comment.