siddhant3s / onemangadl

A simple script to download manga from http://mangareader.net
5 stars 3 forks source link

Support for other manga sites #4

Open Jzarecta opened 11 years ago

Jzarecta commented 11 years ago

I wonder if there is any plans to add support for other manga sites like mangahere.net (used to be mangafox).

The HTML seems to be rather similar: http://www.mangareader.net/skip-beat/197/2 and http://www.mangahere.com/manga/boku_no_bandai_san/c002/7.html

HTML also looks rather similar:

<div id="imgholder">
   <a href="/skip-beat/197/3">
      <img id="img" width="800" height="1188" src="http://i997.mangareader.net/skip-beat/197/skip-beat-3881677.jpg" alt="Skip Beat 197 - Page 2" name="img" />
    </a> 
</div>

and on MangaHere:

<section class="read_img" id="viewer">
   <a href="http://www.mangahere.com/manga/boku_no_bandai_san/c002/8.html" onclick="return next_page();">
    <img src="http://z.mhcdn.net/store/manga/9768/002.0/compressed/re_w_boku_bandai_02_06.jpg?v=11313719509" onerror="this.src=\'http://m.mhcdn.net/store/manga/9768/002.0/compressed/re_w_boku_bandai_02_06.jpg?v=11313719509\'" width="826" id="image" alt="Boku no Bandai-san 2 Page 7" />
    </a>
</section>