• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.
Status
Not open for further replies.

Raveline

Recruit
70 Badges
Dec 26, 2012
2
2
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - After Dark
  • Magicka 2
  • Pillars of Eternity
  • Europa Universalis IV: Res Publica
  • Magicka
  • Knights of Pen and Paper +1 Edition
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • Europa Universalis III: Chronicles
  • Crusader Kings II
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Stellaris
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris Sign-up
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Mandate of Heaven
  • Crusader Kings II: Jade Dragon
  • Surviving Mars
  • Stellaris: Synthetic Dawn
  • Age of Wonders III
  • Cities: Skylines - Green Cities
  • Surviving Mars: Digital Deluxe Edition
  • Crusader Kings III: Royal Edition
  • Stellaris: Megacorp
  • Cities: Skylines Industries
  • Surviving Mars: First Colony Edition
  • Cities: Skylines - Parklife
  • Victoria 2
  • 500k Club
  • Cities: Skylines - Parklife Pre-Order
  • Stellaris: Humanoids Species Pack
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Knights of Pen and Paper 2
  • Stellaris: Apocalypse
  • Crusader Kings II: Conclave
Hello,

I've finished a python script that parses AAR threads on the Paradox Forum to transform it into an epub. (For those awful times when you do not have an internet connexion). It's fairly basic and I'm sure there are many case where it will break but I've tested it on several AAR and it works in most cases (that's QA for you). The author of the AAR must have posted a table of content in the first page of the thread for it to work, though.

You can get the script on github. (You'll need to know how to install python dependencies but that's rather easy). Beware, if there are heavy images in the AAR, the epub can be rather hefty ("O flower of scotland", e.g., weighs almost 200Mo).

If any Paradox employee reads this : what is your policy regarding automatic parsing of the forum ? Do you tolerate it ? If you don't, I'm sorry and I'll delete my repo. If you do, you guys rock. (And if you really, really don't care about webcrawling, can I multiprocess this thing so it doesn't take an hour to download a long AAR ?)
 
  • 1
  • 1
Reactions:
Status
Not open for further replies.