小説家になろう book downloader

Add `download all chapter` button to syosetu.com (you need login to download chapters )

< Feedback on 小説家になろう book downloader

Question/comment

§
Posted: 2021-01-12

want to download: https://novel18.syosetu.com/*/

add:
//@match *://novel18.syosetu.com/*

change:
async function downloadChapter(ncode, chapter) to novel18.syosetu.com

but it doesn't work. after pressing download all chapters, it stops at halfway 19/30.

NateScarletAuthor
§
Posted: 2021-01-12

try v2021.01.12

§
Posted: 2021-01-12

try v2021.01.12

thanks for updating
but it stops halfway again...

NateScarletAuthor
§
Posted: 2021-01-12

it's ok on my side

maybe network issue to download images in あらすじファンアート漫画

§
Posted: 2021-01-12

after trying HK TW SG USA ip to connect, but still failed on n0758fr.
but other novels successed, thank you very much.


________________

my friend put this before line 46, and it goes well.

img.setAttribute("crossOrigin",'Anonymous')

NateScarletAuthor
§
Posted: 2021-01-14

I was using firefox to test, now i can reproduce this issue with chrome.

image.crossOrigin is default to anonymous per mdn.

Seems chrome have more strict CORS policy than firefox, so it is ok on my side.

Set img.setAttribute("crossOrigin",'whatever') just fail the image download request due to invalid value, and script fallback to use url link.

NateScarletAuthor
§
Posted: 2021-01-14

Image download for chrome fixed in v2021.01.15

Post reply

Sign in to post a reply.