Web scraper for Anoboy, Komiku, and Komikcast. Build using Node JS.
-
Clone the repository, and navigate to the repository directory.
-
Setup
.envfor Anoboy Link and Komikcast Link (Anoboy often get changed time to time, so make sure to check it regularly). Example :
ANOBOY_LINK="Enter Anoboy Link Here"
KOMIKCAST_LINK="Enter Komikcast Link Here"
-
Run
npm install. -
Run the code.
npm run start
- Note that this scraper is deployed on a
free Render service, sosome features may not work properlyand, it maybeout of quotasometimes. - Looks like
our free IP/Domain has been blocked by Anoboy and Komikcaston some VPS providers, returning 403 errors.
If you are running this on a VPS and encounter a 403 Forbidden error (especially for Komikcast), it means the hosting IP is blocked by Cloudflare.
To fix this, you can set a proxy in services/manga-service-v2.js:
const proxyConfig = {
protocol: "http",
host: "your-proxy-ip",
port: your - port,
auth: {
username: "your-username",
password: "your-password",
},
};
const axiosConfig = {
timeout: 15000,
proxy: proxyConfig,
headers: {
// ... headers
},
};Or ideally, use the KOMIKCAST_PROXY environment variable if the logic is implemented to read from .env.
https://weeb-scraper.onrender.com/api/anoboy
https://weeb-scraper.onrender.com/api/anoboy?s=kaguya
https://weeb-scraper.onrender.com/api/anoboy/2022~12~bleach-sennen-kessen-hen-episode-9~
https://weeb-scraper.onrender.com/api/komiku
https://weeb-scraper.onrender.com/api/komiku?s=Kaguya
https://weeb-scraper.onrender.com/api/komikcast
https://weeb-scraper.onrender.com/api/komikcast?s=Kaguya