Closed MoonLGH closed 3 years ago
lel
Region locked, Singapore works
I just started to add the website, when i noticed there are direct download links for each anime episode. So should we really add support for this in HakuNeko?
Current Status
import WordPressMangastream from './templates/WordPressMangastream.mjs';
import Manga from '../engine/Manga.mjs';
export default class OtakuDesu extends WordPressMangastream {
constructor() {
super();
super.id = 'otakudesu';
super.label = 'Otaku Desu';
this.tags = [ 'anime', 'indonesian' ];
this.url = 'https://otakudesu.tv';
this.path = '/anime-list/';
this.querMangaTitleFromURI = 'div.infozin div.infozingle p span';
this.queryMangas = 'div.venser div.daftarkartun div.jdlbar ul li a.hodebgst';
this.queryChapters = 'div.episodelist ul li span a';
this.queryChaptersTitle = undefined;
}
async _getMangaFromURI(uri) {
const request = new Request(new URL(uri), this.requestOptions);
const data = await this.fetchDOM(request, this.querMangaTitleFromURI);
const title = data[0].textContent.replace(/judul\s*:/i, '').trim();
return new Manga(this, uri, title);
}
async _getPages(chapter) {
throw new Error('Not Implemented');
}
}
I just started to add the website, when i noticed there are direct download links for each anime episode. So should we really add support for this in HakuNeko?
Current Status
import WordPressMangastream from './templates/WordPressMangastream.mjs'; import Manga from '../engine/Manga.mjs'; export default class OtakuDesu extends WordPressMangastream { constructor() { super(); super.id = 'otakudesu'; super.label = 'Otaku Desu'; this.tags = [ 'anime', 'indonesian' ]; this.url = 'https://otakudesu.tv'; this.path = '/anime-list/'; this.querMangaTitleFromURI = 'div.infozin div.infozingle p span'; this.queryMangas = 'div.venser div.daftarkartun div.jdlbar ul li a.hodebgst'; this.queryChapters = 'div.episodelist ul li span a'; this.queryChaptersTitle = undefined; } async _getMangaFromURI(uri) { const request = new Request(new URL(uri), this.requestOptions); const data = await this.fetchDOM(request, this.querMangaTitleFromURI); const title = data[0].textContent.replace(/judul\s*:/i, '').trim(); return new Manga(this, uri, title); } async _getPages(chapter) { throw new Error('Not Implemented'); } }
Y E S PLEASE
gonna up this web on a new pr, imma close this one first
Name of the website Otakudesu
Website urls