kevcui / animepahe-dl Goto Github PK
View Code? Open in Web Editor NEW:arrow_down: animepahe anime downloader
License: Do What The F*ck You Want To Public License
:arrow_down: animepahe anime downloader
License: Do What The F*ck You Want To Public License
I tried using the tool and it worked fine but when I tried again, it gave the error:
curl: (7) Failed to connect to animepahe.com port 443 after 118 ms: Bad access
[ERROR] Anime slug not found!
I have installed all the dependencies and also have fast internet.
Animepahe provides multiple quality for many videos. It would be helpful if one wants to download a specific quality.
If not available, should fallback to whatever available.
for some reason the download speed is very low compared to normal downloads from the site. it took around 8 mins to download a 240mb episode. Can you please fix this? I have a 100mbps connection and usually get around 5-8mbps when downloading from the website.
Hi!
First off, thank you for this script. It has really come in handy.
Now to my issue.
Every time I'm using the script, I get this error:
$ ./animepahe-dl.sh -a 'Shingeki no Kyojin'
date: invalid date ‘sön 3 apr 2022 20:23:22 CEST +10080 minutes’
[INFO] Wait a few seconds for fetching cookie...
date: invalid date ‘mån 4 apr 2022 10:02:20 CEST +10080 minutes’
[INFO] Wait a few seconds for fetching cookie...
date: invalid date ‘mån 4 apr 2022 10:02:20 CEST +10080 minutes’
And it repeats a couple of times.
It can take a few minutes/tries, but it still works eventually.
My first thought is that it could be because I have set up my machine to
use English language but the rest with Swedish (time & currency etc),
but I thought I'd ask anyway.
Cheers!
Please add a separate variable for download path near the top of the script that can be easily edited.
Add animepahe scrap link batch to download externally if possible...
1.Does this downloader shows downloading percent while downloading or it is not showing to me.
2.I tired using -t but it's not working any solution
Until yesterday noon it worked flawlessly, but after that it is not updating, like no anime slug and name. Can you please look into it. Thanks
prajw@DESKTOP-39F45QH MINGW64 /d/animepahe-dl-master/animepahe-dl-master
$ ./animepahe-dl.sh -a 'one piece'
parse error: Invalid numeric literal at line 1, column 10
[ERROR] Anime slug not found!
If I'm not mistaken, slugs get outdated, making history obsolete every now and then. fzf
can take a filter flag -f, --filter
to return the best matches in order. Combined with head
, a flag of -n, --name
(or -a
) would be much durable.
$ animepahe-dl -a anime -e 1-50 -l
(Does Animepahe not support English titles?)
$ animepahe-dl
.
.
Danshi Koukousei no Nichijou [Daily Lives of High School Boys]
> Shingeki no Kyojin [Attack on Titan]
3693/3693
>
To tell you the truth, I don't know why slugs are involved to begin with. Since they get outdated, it seems sensible to abstract them away. Is there a reason, @KevCui?
log---------
$ bash animepahe-dl.sh -d
I was downloading mha,the first day it worked fine.But nowadays whenever i use -t for better download speed it shows ssl connection aborted however the downloading doesn't stop.But Still.
Please help me in "How to use this code"?
Thanks
Is there any way to increase the download speed
Like using VPN or something....
The speed of my net is around 8 to 10 mps speed
But the downloading is very slow...
There are no uuids of anime in anime.list.
./animepahe-dl.sh -d
+ getopts :hlda:s:e:r:t:o: opt
+ set_var
++ command -v curl
+ _CURL=/usr/bin/curl
++ command -v jq
+ _JQ=/usr/bin/jq
++ command -v fzf
+ _FZF=/usr/bin/fzf
++ command -v node
+ _NODE=/usr/bin/node
++ command -v ffmpeg
+ _FFMPEG=/usr/bin/ffmpeg
+ [[ 1 -gt 1 ]]
+ _HOST=https://animepahe.com
+ _ANIME_URL=https://animepahe.com/anime
+ _API_URL=https://animepahe.com/api
+ _REFERER_URL=https://kwik.cx/
+++ realpath ./animepahe-dl.sh
++ dirname /home/ayush/github/animepahe-dl/animepahe-dl.sh
+ _SCRIPT_PATH=/home/ayush/github/animepahe-dl
+ _ANIME_LIST_FILE=/home/ayush/github/animepahe-dl/anime.list
+ _SOURCE_FILE=.source.json
+ [[ -n '' ]]
+ download_anime_list
+ /usr/bin/curl --compressed -sS https://animepahe.com/anime
+ grep /anime/
+ sed -E 's/.*anime\//[/;s/" title="/] /;s/\">.*//'
+ [[ -z '' ]]
++ /usr/bin/fzf
++ remove_brackets
++ awk '-F]' '{print $1}'
++ sed -E 's/^\[//'
+ _ANIME_SLUG=
+ [[ '' == '' ]]
+ print_error 'Anime slug not found!'
+ printf '%b\n' '\033[31m[ERROR]\033[0m Anime slug not found!'
[ERROR] Anime slug not found!
+ exit 1
After running the script it shows 0/0
I have made a script which allows to scrap the download link from Animepahe website...
If you want the script (code) I will be happy to share it with you...
Downloaded anime audio and video not matching....they are not syncing
Hi again.
I really hope I'm not being annoying by adding more issues here,
but putting my own insecurities aside, I just noticed a weird one just now.
When I selected "Shijou Saikyou no Deshi Kenichi" (non OVA),
I kept getting the listed episodes from the OVA instead.
Hopefully it's an easy fix.
I'd love to help out with fixes, but I feel that this is just beyond my skill level unfortunately,
but I plan on going through the commands at some point to figure out how it all works.
Thanks for your awesome work and for the quick fixes you do!
On a side note, do you have a PayPal or something?
I'd love to give you some tip considering I use this so frequently.
I'm really sorry bout this I just really don't know what to do, I downloaded the latest commit, installed the npm packages and downloaded chrome/chromium but it still doesn't work for me. Please help. I copied the error i get below, thanks in advance.
./animepahe-dl.sh: line 37: command not found
[ERROR] chrome command not found
this script give me this error out!
animepahe-dl.sh: line 292: syntax error near unexpected token `<'
Sorry bro agian disturbing you...
When I use thread mode it's complete's the given task but the downloaded video audio and video not sync together....
Any solution..???
And again sorry for opening a new issue
It seems that the episodes list is capped at the number 30. Why is that and how can it be solved?
Just started getting this error today (was working yesterday):
parse error: Invalid literal at line 1, column 4
Also, I've previously posted an issue about the date error, but the script still worked so I didn't really care about it,
although I can add that the date error doesn't appear on the first line if I remove the old cookie.json before executing the script.
Example:
(no cookie.json)
$ ./animepahe-dl.sh -r "720" -a "world trigger"
[INFO] Wait a few seconds for fetching cookie...
date: invalid date ‘sön 17 apr 2022 16:38:17 CEST +120 minutes’
[INFO] Wait a few seconds for fetching cookie...
date: invalid date ‘sön 17 apr 2022 16:38:21 CEST +120 minutes’
[INFO] Wait a few seconds for fetching cookie...
(with cookie.json)
$ ./animepahe-dl.sh -r "720" -a "world trigger"
date: invalid date ‘sön 17 apr 2022 16:38:22 CEST +120 minutes’
[INFO] Wait a few seconds for fetching cookie...
date: invalid date ‘sön 17 apr 2022 16:38:47 CEST +120 minutes’
[INFO] Wait a few seconds for fetching cookie...
date: invalid date ‘sön 17 apr 2022 16:38:55 CEST +120 minutes’
[INFO] Wait a few seconds for fetching cookie...
Use case: to pipe them into a file for download or streaming through mpv
or some other video player.
Chrome command not found I already installed the npm
my command is:
./animepahe-dl.sh -a 'ousama ranking' -e 1-23 -r 1080
Hi there, me again!
Just had a quick question;
Would it be possible to when searching for an anime to only get the
anime titles in the fzf list, instead of including the slug before it?
The reason I ask is that I usually use my phone to download everything to my server through SSH,
and because of the small screen size I have to rotate my phone (almost) every time to see which title
I have selected (and sometimes I can't even see the whole title with those anime's that has really long names).
Not the biggest issue in the world, but it can be a pain at times.
No worries if it's too much of a hassle, but I think it'd be the cherry on top for this lovely script! 😃
The ability to download/list ranges: 1-100
to mean from episode 1 to episode 100. Better than: 1,2,3..,100
. Apologies if this is implemented but I couldn't figure it out.
Hi , I am not sure whether the problem is at my side or not.
All of the downloaded files have no audio and I also apologies if the issue is not professional.
I'm new to GitHub.
I tried running it this morning and it ran flawlessly, everything was fine, but when I tried downloading the next episode, the list was entirely 0/0,
This was the error: curl: (35) OpenSSL SSL_connect: Connection reset by peer in connection to animepahe.com:443
Pls help 🥺
The first entry in fzf .hack//Sign
errors out with:
jq: error (at <stdin>:1): Cannot iterate over null (null)
hey , can you fix again this " no slug found" because the list file was empty 0/0.
There's no audio on the anime episodes I've downloaded. Did I go wrong somewhere? All the dependencies, libraries, or whatever seem to be installed correctly.
Edit: Reinstalled the dependencies, tried downloading again but the same problem occurs.
Hi again!
Not sure what caused it, when looking through the fzf list and when it downloads the episode(s),
it adds two spaces to the dir name.
I tried looking for the cause, but didn't have any luck with it.
I'm only guessing that it's related to the $_ANIME_NAME variable.
Everything else still works fine though, so no need to rush anything 😃
GUEST123@RICHU MINGW64 ~/Downloads/animepahe-dl-master (1)/animepahe-dl-master
$ ./animepahe-dl.sh -a "naruto"
after nothing shows
Hi @KevCui this two anime's can't be found...
When given -o 'jpn', output is:
[WARNING] Missing video list! Skip downloading!
Same happens if I don't give -o argument
When given -o 'eng', it works as expected.
Add choice for downloading videos through aria2 or other external downloaders.
Since there is no progress bar while downloading, I cannot be sure whether the file is downloading. So, its better to add an external downloader option like aria2 or atleast a progressbar. And could you please make sure that whatever external downloader you add, it runs on termux?
Thanks for looking
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.