Comments (15)
- I will check it out. Maybe the html for the page is mangled.
- I was hoping that btapi will be hosted on baka tsuki itself but Simon has not replied me. Anyway, baka-tsuki is also not https enabled, so that may have to wait a while.
from btapi.
I edit my post but forget to say i did, the second array only has the first story arc
Ok thank, no problem for https it's not really important :)
from btapi.
Okay I saw it, the formatting was indeed mangled. It was completely different from any of the other formats so I may have to do this separately (maybe within a week or so)
from btapi.
Take your time :)
I will juste use the second array for it, since this project is halted it should be enough for now
from btapi.
I don't really want to open a new issue for every novel detail, I think it's better to continue here can I ?
there is a problem for Densetsu no Yūsha no Densest it throw an error
from btapi.
May I know what is the error?
from btapi.
with https://baka-tsuki-api.herokuapp.com/api?title=Densetsu_no_Yūsha_no_Densetsu I got :
An error occurred in the application and your page could not be served. Please try again in a few moments. If you are the application owner, check your logs for details.
On mine if I look a the log it say :
GET /api?title=Densetsu_no_Y%C5%ABsha_no_Densetsu
so it seem like 'ū' is the problem because it's encoded and you expect an unencoded string on the server side
EDIT : I think it wouldn't be bad to assume almost every special character don't work like for Fate/Zero and '/'
EDIT 2 : partially or not working novel list at the end of the readme here https://github.com/AzSiAz/LN-Reader
from btapi.
I've solved the Seikoku_no_Ryuu_Kishi problem through changes in the header arrangements for the page. Apparently it had an extra header in the table of contents.
For Densetsu_no_Yūsha_no_Densetsu I'm still investigating the problem. The api have no problem accessing Fate/Zero or other URLs with special characters but somehow for Densetsu it can't download the data for the page, it's probably a unicode problem as you've said.
BTW: baka-tsuki just got a SSL certificate! Maybe some one can ask to include this API inside Baka tsuki itself so it can be accessed through HTTPS too.
from btapi.
I've reencoded the string with encodeURI on each url call. Uploading the latest version to heroku.
from btapi.
@AzSiAz Refer to Issue #12 . Https is now supported inside the api calls itself. Glad to see an iOS app for baka-tsuki coming out.
from btapi.
Thank for Seikoku_no_Ryuu_Kishi and https inside api calls. I'm still not register in baka-tsuki someone should open a new topic for it..
Seem like almost every novel work even Zero_no_Tsukaima work again, now what left is to work on novel itself because with some of them chapter are tome or section[0] is wrongly set and so on.
Another little question : to avoid calling api calls by nodejs every minute cache is planned ?
from btapi.
Glad to hear that.
I'm planning to save all of the data into a database, so the api calls can be cached and indexed (much better improvement over parsing the text everytime), but that will have to wait till the discussion is complete on the forums, so for now you might have to do local caching first.
from btapi.
Yeah already doing that for offline use, well thanks for the answer
And one more time here is the last check I made, with what is not working or not completely (with the latest version from git) might be incomplete thought :
- Gekkou (API
Cannot read property 'books' of undefined
) - Iris_on_Rainy_Days (Api formatting data)
- Mokushiroku_Arisu (API sections[0] isn't tome/chapter)
- Remembrances_for_a_certain_pilot (API
Cannot read property 'books' of undefined
) - (Partially) Sugar_Dark (Broken volume list API)
- Tabi_ni_Deyou,_Horobiyuku_Sekai_no_Hate_Made (API error :
Cannot read property 'books' of undefined
) - (Partially) Toradora! (API problem with Alternative Adaptation part)
- Yume_Nikki (API Problem error :
Cannot read property 'books' of undefined
)
Sorry for putting another piece of work so soon..
from btapi.
Nice! I'll open an issue for each. Thanks for the information, save a lot of testing time on my end.
from btapi.
no problem, if I found new one I will open a new issue
from btapi.
Related Issues (20)
- Volume Search HOT 1
- HTTPS support HOT 1
- Gekkou (API Cannot read property 'books' of undefined) HOT 1
- Iris_on_Rainy_Days (Api formatting data) HOT 1
- Mokushiroku_Arisu (API sections[0] isn't tome/chapter) HOT 1
- Remembrances_for_a_certain_pilot (API Cannot read property 'books' of undefined) HOT 1
- Sugar_Dark (Broken volume list API) HOT 1
- Tabi_ni_Deyou,_Horobiyuku_Sekai_no_Hate_Made (API error : Cannot read property 'books' of undefined) HOT 1
- Toradora! (API problem with Alternative Adaptation part) HOT 1
- Yume_Nikki (API Problem error : Cannot read property 'books' of undefined) HOT 1
- Light novel list not working (Cannot read property '0' of undefined) HOT 16
- Zero_no_Tsukaima cover for each volume
- Unlimited Fafnir novel detail broken HOT 1
- Non-existent pages not returning an error.
- Problem one_off novel HOT 3
- Document all problematic novels to be included as special cases in the tests. HOT 6
- http://btapi-shadowys.rhcloud.com/ API endpoint down HOT 2
- Create Genre Filter HOT 1
- Light novel detail not working HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from btapi.