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:
- Please properly tag spoilers.
- Be civil
- Don't ask for or provide pirated content
- No Ads / Spamming
- When in doubt: Ask yourself βWhat Would Myne Do?"
#More:
Discord Server Invite Code: VJ7yrfq2ex
Lightnovel Links:
Ascendance of a Bookworm Community
Lightnovel Adjacent Links:
founded 9 months ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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.
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.
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.
I take any help that I can get.
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.
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.
done and done
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.
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.
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.
I can spin up pretty much anything, so chose whatever is easiest for you.
btw https://lnrelease.github.io/data.json is the final step. books.csv still needs a bit of row combining.
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
You've got it except 0 is series index. Format 4 is audiobooks.