this post was submitted on 12 Feb 2024
1 points (100.0% liked)

LightNovels

141 readers
7 users here now

#Welcome!

This is a discussion-based community based around translated Light Novels, Novels, and Web Novels which originate from Japan.


#Rules:


#More:

Discord Server Invite Code: VJ7yrfq2ex

Lightnovel Links:

Ascendance of a Bookworm Community

Lightnovel Adjacent Links:

Manga Community

Anime Community

Visual Novels

founded 9 months ago
MODERATORS
 
Date Title Volume Publisher Format
2024-02-12 The Oblivious Saint Can't Contain Her Power: Forget My Sister! Turns Out I Was the Real Saint All Along! 1 J-Novel Club πŸ–₯️
2024-02-13 The Dawn of the Witch 5 Kodansha πŸ–₯οΈπŸ“–
2024-02-13 The Death Mage 4 One Peace Books πŸ–₯οΈπŸ“–
2024-02-14 I'm Giving the Disgraced Noble Lady I Rescued a Crash Course in Naughtiness 3 J-Novel Club πŸ–₯️
2024-02-15 Magic Stone Gourmet: Eating Magical Power Made Me The Strongest 4 J-Novel Club πŸ–₯️
2024-02-15 My Pet is a Saintess 1 Hanashi Media πŸ–₯️
2024-02-15 Reincarnated as a Dragon Hatchling 6 Seven Seas Entertainment πŸ–₯️
2024-02-16 BLADE & BASTARD: Return of The Hrathnir 3 J-Novel Club πŸ–₯️
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 0 points 9 months ago (1 children)

For the first few months, I went around the big publishers by hand each week until some saintly person (thanks a lot even though I forgot your name) pointed me towards this Github page. My current workflow is to copy&paste the current week from this page and throw it into ChatGPT to have it convert this into a ready-to-use markdown table.

[–] [email protected] 0 points 9 months ago (1 children)

Alright, that's not too bad then, somebody has done the hard work already (found their post about it on reddit). Markdown tables are always a pain. I should have thought about using something like ChatGPT for that. I will try that out next time. In case you were so inclined, you could pull an already markdown formatted table directly from their github README, but it would also be a bit of a pain since you would need to find the right rows in the raw file.

[–] [email protected] 0 points 9 months ago* (last edited 9 months ago) (2 children)

It looks like all the books are updated in books.csv. So it should be possible to write a script to download the latest CSV, filter the required dates for that week and post it to Lemmy.

If the mods are happy I will try and have a look sometime this week at automating it, or you can pick it up if you want.

[–] [email protected] 0 points 9 months ago (1 children)

If the mods are happy

I take any help that I can get.

[–] [email protected] 2 points 9 months ago (1 children)

I have a Proof of concept. (Python script)

Not sure if you can see deleted posts but if you can you can see how it looks at the moment.

Have you though about a dedicated account to run it or running it on normal accounts?

I am happy to leave it running on my server for the moment, But I might end up neglecting it.

I will make a few more updates this week and tidy it up.

[–] [email protected] 2 points 9 months ago* (last edited 8 months ago) (2 children)

I think a separate account would be the way to go. I can create one for that purpose and make it a mod here.

I have an ~~unpaid~~ unraid server running where I can start a VM of whatever to run the script. I only have zero experience with running scheduled scripts so I would need help setting it up.

[–] [email protected] 2 points 9 months ago (1 children)

I can create one for that purpose and make it a mod here.

done and done

[–] [email protected] 3 points 9 months ago (1 children)

Just want to say that I am shocked that this username was still available, but so glad that it was. It is the perfect name for this community.

[–] [email protected] 3 points 8 months ago

Me too. I would have tried Rosemyne and Urano next. And if they weren't free either then I would have started with the Gods. I feel Mestionora would have fit as well and is obscure enough to be free.

[–] [email protected] 2 points 9 months ago (1 children)

Ok. Once I have finished updating and improving the script I can share you the code and create a document with instructions on how to set it up.

If you let me know which OS the VM is using I will tailor it to that.

[–] [email protected] 2 points 9 months ago

I can spin up pretty much anything, so chose whatever is easiest for you.

[–] [email protected] 0 points 9 months ago (1 children)

btw https://lnrelease.github.io/data.json is the final step. books.csv still needs a bit of row combining.

[–] [email protected] 1 points 9 months ago (1 children)

Thank you.

Am I right in saying:

Json[data][i][0] = Index

Json[data][i][1] = Link

Json[data][i][2] = Publisher ( Index for Json[Publisher][Index] )

Json[data][i][3] = Book Name

Json[data][i][4] = Book Volume

Json[data][i][5] = Book Release Type ( 1 = Physical , 2 = Digital , 3 = Digital & Physical , 4 = ? )

Json[data][i][6] = ISBN

Json[data][i][7] = Release Date

[–] [email protected] 3 points 8 months ago

You've got it except 0 is series index. Format 4 is audiobooks.