Giter VIP home page Giter VIP logo

animepahe-dl's Introduction

animepahe-dl's People

Contributors

akianonymus avatar djchittoor avatar jashanbhullar avatar kevcui avatar lord8266 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

animepahe-dl's Issues

Downloading folder ends with two whitespaces

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 😃

Question/enhancement

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! 😃

[ERROR] chrome command not found

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

Option to list url

Use case: to pipe them into a file for download or streaming through mpv or some other video player.

Video and audio out of sync

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

no output shown

GUEST123@RICHU MINGW64 ~/Downloads/animepahe-dl-master (1)/animepahe-dl-master
$ ./animepahe-dl.sh -a "naruto"

after nothing shows

Chrome command not found

Chrome command not found I already installed the npm

my command is:
./animepahe-dl.sh -a 'ousama ranking' -e 1-23 -r 1080

Sorry again for bothering

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...

Symbolic link issue

Linking animepahe-dl.sh somewhere (~/.local/bin) and using that breaks it:

image

The error:

/home/me/.local/bin/animepahe-dl: line 159: /home/me/.local/bin/bin/getCFcookie.js: No such file or directory
[ERROR] Cannot fetch cf_clearance from https://kwik.cx/f/cBEjXgGPcFM2!

Can't load the list

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 🥺

scrip is broke

this script give me this error out!

animepahe-dl.sh: line 292: syntax error near unexpected token `<'

Getting the OVA version instead of the 'normal' one

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.

Anime Slug Not Found

It doesn't recognise the name of the anime i tried the name both in English and Japanese but it doesn't seem to work.When i try english it shows anime slug not found when i try in Japanese it just stucks there nothing pops up

IMG_20211005_215645.jpg

Animepahe connection error

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.

SSL CONNECTION TIMEOUT

When i try to download using -t command it shows connection timeout.

Command I Used:-
./animepahe-dl.sh -s (anime slug) -r 720 -e 2-11 -t 5

IMG_20211005_220014.jpg

Problem

Downloaded anime audio and video not matching....they are not syncing

Episodes above 30

It seems that the episodes list is capped at the number 30. Why is that and how can it be solved?

Ranges in episodes

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.

No uuid in anime.list

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

Petition

Add animepahe scrap link batch to download externally if possible...

date: invalid date

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!

no anime found

hey , can you fix again this " no slug found" because the list file was empty 0/0.

Can you please tell how to properly implement jq

Screenshot (4035)_LI
I had already placed jq-win64.exe file in the same folder but I don't know what to do with it or how to use it, can you please explain in full detail for beginners like me, I'm quite new to bash scripts

Bug with certain title

The first entry in fzf .hack//Sign errors out with:

jq: error (at <stdin>:1): Cannot iterate over null (null)

parse error

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...

Help bro...!!!

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

cURL error while downloading

Hi, there is an error with cURL while downloading this anime (Isekai Maou to Shoukan Shoujo no Dorei Majutsu Ω)

image_2022-06-19_163226908

anime.list not updating

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

Download speed

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.

Issue while downloading

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.

Stuck on getting cookies

log---------

$ bash animepahe-dl.sh -d

  • getopts :hlda:s:e:r:t⭕ opt
  • set_var
    ++ command -v curl
  • _CURL=/mingw64/bin/curl
    ++ command -v jq
  • _JQ=/c/ProgramData/chocolatey/bin/jq
    ++ command -v fzf
  • _FZF=/c/ProgramData/chocolatey/bin/fzf
    ++ command -v node
  • _NODE='/c/Program Files/nodejs/node'
    ++ command -v ffmpeg
  • _FFMPEG=/c/WINDOWS/system32/ffmpeg
    ++ command -v chromium
  • _CHROME=
    ++ command -v chrome
  • _CHROME='/c/Program Files/Google/Chrome/Application/chrome'
  • [[ 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 /c/Git/animepahe-dl/animepahe-dl.sh
  • _SCRIPT_PATH=/c/Git/animepahe-dl
  • _ANIME_LIST_FILE=/c/Git/animepahe-dl/anime.list
  • _SOURCE_FILE=.source.json
  • _COOKIE_FILE=/c/Git/animepahe-dl/cookie.json
  • _USER_AGENT_FILE=/c/Git/animepahe-dl/user-agent
  • _USER_AGENT_LIST_FILE=/c/Git/animepahe-dl/user-agent.list
  • _GET_COOKIE_JS=/c/Git/animepahe-dl/bin/getCookie.js
  • [[ -s /c/Git/animepahe-dl/user-agent ]]
    ++ cat /c/Git/animepahe-dl/user-agent
  • _USER_AGENT='Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.78.2 (KHTML, like Gecko) Version/6.1.6 Safari/537.78.2'
  • [[ -n '' ]]
  • download_anime_list
  • get https://animepahe.com/anime
  • local cookie
  • grep /anime/
    ++ get_cookie
  • sed -E 's/.anime//[/;s/" title="/] /;s/">.//'
    +++ is_file_expired /c/Git/animepahe-dl/cookie.json 120
    +++ local o
    +++ o=yes
    +++ [[ -f /c/Git/animepahe-dl/cookie.json ]]
    +++ echo yes
    ++ [[ yes == \y\e\s ]]
    ++ local cookie
    ++ print_info 'Wait a few seconds for fetching cookie...'
    ++ [[ -z '' ]]
    ++ printf '%b\n' '\033[32m[INFO]\033[0m Wait a few seconds for fetching cookie...'
    [INFO] Wait a few seconds for fetching cookie...
    +++ /c/Git/animepahe-dl/bin/getCookie.js '/c/Program Files/Google/Chrome/Application/chrome' https://animepahe.com 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.78.2 (KHTML, like Gecko) Version/6.1.6 Safari/537.78.2'
    ++ cookie=
    ++ [[ -z '' ]]
    ++ get_cookie
    +++ is_file_expired /c/Git/animepahe-dl/cookie.json 120
    +++ local o
    +++ o=yes
    +++ [[ -f /c/Git/animepahe-dl/cookie.json ]]
    +++ echo yes
    ++ [[ yes == \y\e\s ]]
    ++ local cookie
    ++ print_info 'Wait a few seconds for fetching cookie...'
    ++ [[ -z '' ]]
    ++ printf '%b\n' '\033[32m[INFO]\033[0m Wait a few seconds for fetching cookie...'
    [INFO] Wait a few seconds for fetching cookie...
    +++ /c/Git/animepahe-dl/bin/getCookie.js '/c/Program Files/Google/Chrome/Application/chrome' https://animepahe.com 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.78.2 (KHTML, like Gecko) Version/6.1.6 Safari/537.78.2'
    ++ cookie=
    ++ [[ -z '' ]]
    ++ get_cookie
    +++ is_file_expired /c/Git/animepahe-dl/cookie.json 120
    +++ local o
    +++ o=yes
    +++ [[ -f /c/Git/animepahe-dl/cookie.json ]]
    +++ echo yes
    ++ [[ yes == \y\e\s ]]
    ++ local cookie
    ++ print_info 'Wait a few seconds for fetching cookie...'
    ++ [[ -z '' ]]
    ++ printf '%b\n' '\033[32m[INFO]\033[0m Wait a few seconds for fetching cookie...'
    [INFO] Wait a few seconds for fetching cookie...
    +++ /c/Git/animepahe-dl/bin/getCookie.js '/c/Program Files/Google/Chrome/Application/chrome' https://animepahe.com 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.78.2 (KHTML, like Gecko) Version/6.1.6 Safari/537.78.2'
    ++ cookie=
    ++ [[ -z '' ]]
    ++

Sorry for reopening

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...

Use names, not slugs

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?

No audio

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.

No Audio in the downloaded files

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.

slug Not found

hello again admin :) it work from yesterday but today I cant search using slug
crop

add choice for downloading using animepahe

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

no show of threads

I already download the openssl but still theres is no threads showned during downloading some series
tread

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.