luthis

joined 2 years ago
[–] luthis@lemmy.nz 2 points 2 years ago

Yeah, its real close to JSON but not.

I'm going to have to go a step deeper and find out what's going on in the code because this section is repeated many many times. It's not just this one that I need to parse.

.. It might even be easier to write my own parser like you said, because I need to take actions based on the date fields.

[–] luthis@lemmy.nz 3 points 2 years ago

Unfortunately, this sequence is repeated many many times, so I would need to do a for-each and construct a new table for each inner section..

There's gotta be a better way. Time to read the source code and hijack whatever item() is doing.

[–] luthis@lemmy.nz 1 points 2 years ago

This isn't even an encryption key. It's a unique name generated for the image. My guess is it uses the word 'key' because the 'value' is the image file.

This is also my preprod environment.

[–] luthis@lemmy.nz -3 points 2 years ago

Should the title be: Threads is the 'disinformation of a generation' ?

[–] luthis@lemmy.nz 5 points 2 years ago (3 children)

Item is a function?

Well actually, yeah thats kinda obvious isn't it now I look at the whole thing.

Thats fine, I'll just use a bit of the old sed and json it.

Aha I have avoided learning Lua yet again!

[–] luthis@lemmy.nz 7 points 2 years ago

I was.

It is basically a bunch of low quality shitposts between 3 people.

Disappointing.

[–] luthis@lemmy.nz 6 points 2 years ago (1 children)

Dam thats an awesome instance name

[–] luthis@lemmy.nz 8 points 2 years ago (5 children)

Ohhhhh...

Ok so I just have to write a bit of Lua to utilise the file and give me the info I want.

Thanks!

[–] luthis@lemmy.nz 2 points 2 years ago

The semi-colons threw me off.. why is it not commas? Could be custom. Hope it isn't..

[–] luthis@lemmy.nz 2 points 2 years ago

It's .list

I believe the program that generated this file is written in Lua

[–] luthis@lemmy.nz 1 points 2 years ago

How did you get on with this? I was looking to do this myself.

It's that one step closer to having a customised disposable distro

[–] luthis@lemmy.nz 1 points 2 years ago (2 children)

Not to worry; there's definitely no sensitive information in here and it's from a preprod environment.

(If you're able to figure out a way to use that key field, you're either going to get shot by the FBI or hired by the CIA.)

It is a file created that records information about files in another folder. I just want to extract some values from it. I would have expected this to be in like, xml or json. I believe the program that generated this file is written in Lua, but I don't know Lua.

view more: ‹ prev next ›