manga-download / hakuneko

Manga & Anime Downloader for Linux, Windows & MacOS
https://hakuneko.download
The Unlicense
4.73k stars 469 forks source link

[Site Request] Otakudesu #2840

Closed MoonLGH closed 3 years ago

MoonLGH commented 3 years ago

Name of the website Otakudesu

Website urls

manh21 commented 3 years ago

Reference:

Robonau commented 3 years ago

lel

ronny1982 commented 3 years ago

Region locked, Singapore works

ronny1982 commented 3 years ago

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');
    }
}
MoonLGH commented 3 years ago

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

MoonLGH commented 3 years ago

gonna up this web on a new pr, imma close this one first