xuzhengyi1995 / Renta_Downloader

Download manga you rent from http://renta.papy.co.jp/
53 stars 16 forks source link
ebookrenta manga manga-downloader renta renta-downloader

Renta_Downloader

Download manga you rent from http://renta.papy.co.jp/

[2020-02-01] Make it easier to use, add threadpool to make downloading faster

[2019-10-31] Changed to fit the new version of Renta.

How to Use

Now no need to find anything on the webpage, just put the cookie and url is ready for use.

  1. Install python packages pillow and threadpool.

    pip install Pillow
    pip install threadpool
  2. Change the imgdir in the main.py to indicate where to put the manga.

  3. Add your cookies in the program.

    Remember to use F12 to see the cookies!

    Because some http only cookies can not be seen by javascript!

    Remember that now we should change the cookie each downloading! It means that one cookie for one manga for a period time. Change the manga, Change the cookie!

    Maybe no need to change, but if the program not work, you can try to refresh the cookies.

    1. Open the page.
    2. Press F12.
    3. Click on the Network.
    4. Refresh the page.
    5. Find the first index.view request, click it.
    6. On the right, there will be a Request Headers, go there.
    7. Find the cookie:...., copy the string after the cookie:, paste to the main.py, _YOUR_COOKIESHERE
  4. Change the url in the main.py.

    The URL is finished with index.view, here we use the manga 魔法使いの嫁.

    This is the URL of the 魔法使いの嫁: https://dre-viewer.papy.co.jp/sc/view_jsimg2/sample/9-265205-84/FIX001/index.view

    Just copy this URL to the url in main.py.

  5. About ebookrenta, the us website.

    If you want to download ebookrenta, just do the same thing but change the url to the ebookrenta:http://us-dre4.ebookrenta.com/sc/view_jsimg2_en/3a2d4f07050062a785/9-671847-84/rbc1002/index.view

    Remember the _view_jsimg2en is very important.

    If you got some URL like:http://us-dre4.ebookrenta.com/sc/view_jsimg/689e8bd62ec792493d/9-535673-84/rbc1002/index.view, you must change the part _viewjsimg to _view_jsimg2en, because this script is designed for the newer version of viewer.

  6. After edit the program, run python main.py to run it.

Notice

  1. The poolsize by default is 5, it's already fast enough I think, you can change it but be careful that the server may ban your ip or account (I'm not sure, but be careful).