lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Thu, Apr 30, 2015 at 11:32 AM, Alfredo Palhares
<masterkorp@masterkorp.net> wrote:
>
> So I went to the my country taxes web portal and got to it, after 2 attempts to
> extract the document (the first request I got an pretty 500 as answer) I finally
> got the PDF with the details to me to pay.
>
> This was all being done on chromium and I am suffering from this bug[1], so when
> I pressed the save PDF, my browser just crashed, yikes... After rebooting
> chromium I found that the web portal does not emit the file again (yes, because
> apparently there is no use in that).
>
> With a few more googling, I found some articles on restoring files from the
> chrome cache[2][3] but none of the scripts worked for me.

> I would like to approach this in Lua, but honestly I have no idea where to
> start, so I wrote this email to you guys.

> Any ideas or suggestions would be welcome.


Not a Lua solution, but if you just want the file back (or want
something to compare your answer to)
you could take a look at this thing:

http://www.nirsoft.net/utils/chrome_cache_view.html

(I am neither a Chrome user nor a Windows  user, but I just tried it
in Wine and it seems like it might work there, too.)

 - Jeff