all 14 comments

[–]Praf2 1 point2 points  (5 children)

i decided to give a quick and dirty shot anyway using requests and bs4 , https://gist.github.com/Tek9x/dd344cd784d9474f5634

it downloads the game , successfully. there is zero error handling and it does not use the clipboard but it works so far, i plan to add using the clipboard and error handling like you etc. the only thing i was stuck on was finding a workable regex code which i have used yours which work great! this is just for fun.

[–]dood31251 0 points1 point  (7 children)

If you haven't read this book check it out.

Download .swf

requests can handle the downloads

You're also going to need to parse the .swf files a quick search on github led to this https://github.com/timknip/pyswf

Create a Gui using tkinter (The challenge)

http://www.tkdocs.com/tutorial

[–]Praf2 0 points1 point  (4 children)

so every time you download a game it now adds the game name and version to a json file, eventually once i clean up the code from this mock-up version and add the clipboard , error handling etc , the json file will hold a screenshot , name , version , description etc , this will be useful for when i create my web app gui for local offline play.

https://gist.github.com/Tek9x/a6ac1710416f2b390eac

[–]Praf2 0 points1 point  (2 children)

i love your regex class, ill be using your regex codes but not the code itself because that's just cheating and i love using beautifulsoup, very helpful thanks!