Code Monkey home page Code Monkey logo

bahamutanimedownloader's Introduction

Bahamut Anime Downloader

Important

This tool is no longer maintained.


Download anime from 動畫瘋

Installation

This program uses ffmpeg to merge the chunk file and output the video with the original codecs.

Therefore, ffmpeg need to be available in PATH or same directory.

Compilation

Using Makefile

git clone https://github.com/c0re100/BahamutAnimeDownloader.git
cd BahamutAnimeDownloader
make deps  # Install the dependences
make

Or Manual compile

git clone https://github.com/c0re100/BahamutAnimeDownloader.git
cd BahamutAnimeDownloader
go build

# You need to make sure the dependences have been installed

Usage

For example, you want to download 驚爆危機 Invisible Victory 第12集

Open the downloader and type the sn id (animeVideo.php?sn=10434)

Then you can downloading the videos as fast as possible (Depending on your network).

example

Command line arguments

Select sn

AniDownloader -s 10434

Video Quality Option

You can start a program with command line argument to select quality, otherwise the default quality is 720p.

Quality

  • 360p
  • 540p
  • 720p
  • 1080p # Only for bahamut premium member, and needed to be provided Cookies file

AniDownloader -quality="720p" or Anidownloader -q 720p

Cookies

If you are the premium member and want to download 1080p video

Using -c option to provide your Cookies file

AniDownloader -c cookies.txt -q 1080p

Cookies file can be Raw cookie format or Nestscape cookie format

1. Raw cookies:

    name = value; name = value; ...

2. Nestscape format:

    # Netscape HTTP Cookie File

    .example.org	TRUE	/	FALSE	1552060831	remember_me	true
    .example.org	TRUE	/	FALSE	1552060831	APISID	DijdSAOAjgwijnhFMndsjiejfdSDNSgfsikasASIfgijsowITITeoknsd
    .example.org	TRUE	/	FALSE	1552060831	static_files	iy1aBf1JhQR

Then example of watching 1080p video with Cookies

example

Output

Using -o option to set output path

AniDownloader -s 10434 -q 720p -o .\Anime

bahamutanimedownloader's People

Contributors

c0re100 avatar quarkchiang avatar rniczh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

bahamutanimedownloader's Issues

有時候下載過程會有部分片段被關閉連線

會顯示像這樣的訊息:

Retrying - media_b2000000_50.ts
media_b2000000_12.ts save failed - http2: server sent GOAWAY and closed the connection; LastStreamID=139, ErrCode=NO_ERROR, debug=""

Retrying - media_b2000000_66.ts
media_b2000000_11.ts save failed - http2: server sent GOAWAY and closed the connection; LastStreamID=139, ErrCode=NO_ERROR, debug=""

因此最終 mux 出的影片檔就會缺少了沒有下載到的片段。

而如果重新下載一次或多試幾次就有可能順利完整下載,
不過因為前一次的檔案片段會在 mux 之後自動清除,
變成每次重新下載的時候,皆需重新從第一個片段下載。

部分番劇bug

大部分是2000年以前放送的

sn = 9821, 1353 還有按照放送年代排列的總列表最後一頁的好幾部都是
遇到這類番劇都會無法parse m3u8

有三種畫質
360p = 540x360
480p = 720x480
576p = 864x576

看起來只有parser.go跟handler.go需要修改
不過360p的部分由於跟一般番劇有重疊
所以這類舊番360p的下載指令可能需要定義一個新的?

cookies问题

QQ截图20190727155801
之前朋友给的cookie是能下载到1080p,最近却不能下载,怎么回事呢?
如果不用cookie的话是可以下载到720p的

exe偵測有毒

02.02.2019 19.31.49
物件名稱: RiskTool.Win32.BitCoinMiner.jwsh
請問這是正常的嗎???

要怎麼下載cookie文件

我去google上找了一個插件來下載cookie
結果error一直跳出Please try again - format not corret, Allow: numeric / URL
抱歉 這問題可能有點蠢

這兩天突然無法下載了

回報一個問題

上次下載成功是 3 天前,今天要下載就失敗了

圖片 2020-05-15 03-01-23

好像是廣告時間從 8 秒延長到 20 秒的關係

再麻煩作者有空確認一下了,感謝!

目前是遇到這個錯誤代碼

單純用AniDownloader.exe 大概跑完秒數後會直接閃退 error.log不會有錯誤的提示 但如果用 cmd去叫的話 會出現如下圖的錯誤 有嘗試過-t 去改秒數 但如果短的是ads類的秒數錯誤 28 30是跳這個錯誤
image

有毒

班child登仔話樓主好毒,點搞?😚😚😚

Bahamut Anime Downloader V2

Finished:

  • Login
  • Refresh cookie/token if needed
  • Auto login if cookie expired/deleted
  • Get Video Title
  • 2-Step Verification
  • Support multi episode download(Queueing)

Todo:

  • Web UI
  • Configuration and more........(?)

ETA: Unknown

m3u8 list 出現問題

No need refresh cookie. Gained access. You're Premium user Adaway. Get m3u8 playlist. Your choice: 1080p Create m3u8 playlist failed - open tmp15417/hdntl=exp=1589897148~acl=%2f*~data=-------PC~hmac=c05ce9f930bb02e4994023797f0b115928cf488f8f7544256b3310bc7d42e9a4/chunklist_b5000000.m3u8: no such file or directory
使用 cookie 無法下載
使用瀏覽器看 m3u8 list 會出現 Access Denied

想要輸出ts檔的話要怎麼修改?

我把handler.go裡的mp4都改為ts之後編譯

可以成功輸出ts檔,但是用potplayer查影片資訊

發現都至少小於mp4版本一個影格 請問這是正常的嗎

TS版的秒數也會比mp4版的少一秒

mp4版的則跟線上看顯示的秒數相同

是不是ffmpeg的輸出指令也要更改 求指導m(_ _)m

image
image
image

cookie不会自动刷新

AniDownloader.exe加载cookie后,不会自动刷新cookie,而aniGamerPlus运行后却可以自动刷新,不必担心cookie会过期,不知道AniDownloader能否添加此功能~~~

因为aniGamerPlus没有下载进度显示,看着不舒服,目前都是用aniGamerPlus刷新cookie后,用AniDownloader.exe加载再下载~~~

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.