项目作者: the-robot

项目描述 :
Anime Heaven Downloader
高级语言: Python
项目地址: git://github.com/the-robot/animeheaven-downloader.git
创建时间: 2017-06-06T20:39:26Z
项目社区:https://github.com/the-robot/animeheaven-downloader

开源协议:

下载


Anime Heaven Downloader
NOTICE!

  • Site will go down by 25th Dec. 😞 so this may no longer works after that period.
  • But I will switch to another anime site in the future to prolong the life of this script.

closure


README: this is not official, and dev for this script is nothing related with Anime Heaven team. It was written by myself just to download anime episodes easily. Anime episodes credit go to Anime Heaven.

Changes

  • codebase is refactored
  • add logger methods, modularized the code so it can be reused in other automated scripts (see WHY at the bottom)
  • add animeheaven request blocked handling
  • remove the use of progressbar2, and use custom simple progressbar
  • way of using the program changed, see How To Use

Run with Python3

  • Minimum python requirement Python 3.6

Lib Requirements

Lib Installation for Ubuntu

  • sudo pip3 install beautifulsoup4 selenium
  • npm -g install phantomjs-prebuilt

How To Use

—episode: can be either single episode (1) or range (1-10)

—download: optional parameter to set download path. i.e. —download=’/Users/anime/Desktop’


WHY THE HECK DID HE REFACTOR THE CODE

  • First of all, the whole purpose of writing this is to save my time from browsing the site and clicking episodes one by one
  • After few weeks, people from Anime Heaven added Abuse Blocking Method ¯\(ツ)