my script:
var Url = 'http://readonline.egscans.com/Remnant/Chapter_036_[END]';
var response = UrlFetchApp.fetch(Url).getContentText();
I get this error when I run my script.
“Invalid argument: http://readonline.egscans.com/Remnant/Chapter_036_%5BEND%5D“
You can encode the URL using encodeURIComponent like this:
Ref: https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/encodeURIComponent