this post was submitted on 12 Feb 2024
1 points (100.0% liked)
LightNovels
83 readers
3 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 7 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.
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.