question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

AnimePahe started providing fake kwik links in the api response

See original GitHub issue

name: “🐞 Bug report” about: Report a bug title: “[Bug] AnimePahe started providing fake kwik links in the api response” labels: “bug”


Describe the bug

AnimePahe started providing fake kwik links in the api response (those links go to 404). So, downloads from Animepahe aren't working. Now you need to go through adfly link before getting the real kwik link.

Command You Entered

anigrab -u https://animepahe.com/anime/1e1d8732-a053-24d1-72cb-c8c6a895e3cb

Expected behavior

Should give direct download links.

Actual behavior

Threw an error.

Other details

Maybe some adfly bypassing method can help to resolve this.

On a positive note, they removed captcha to open kwik links now. So, cheers!

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
ngomilecommented, Dec 9, 2020

@IshigamiYuu animepahe isn’t working at the moment.

0reactions
justfoolingaroundcommented, May 16, 2021

The “kwik” links aren’t fake. Kwik has a “DRM” system (really not a DRM but since you’re having issues with it, we’re going to act like it is one).

I’m not familiar with Node so I’ll just drop you the method to get valid stream url(s) from AnimePahe.

First, make an API call to get the “kwik” URL. Then, make a GET request to that URL with “https://animepahe.com/” as the referer (referer in headers). This now allows you to access the site for further extraction. Now, you need to extract the m3u8 URL. There should be some tools in Node that allows JS evaluation but for a faster approach, use regex, here’s the algorithm to extract “kwik” m3u8.

To stream/download the m3u8 is also quite troublesome due to the above mentioned “DRM” system, hence, you need to use the “kwik” url (not https://kwik.cx but the url from which you extracted the m3u8) as the referer in the download header.

Then, you should be able to stream/download from AnimePahe.

This is also the reason why web browsers are failing to stream even from the official AnimePahe site.

Good luck!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to use this? & ([ERROR] Missing video list!) #8 - GitHub
++ /mingw64/bin/curl -sS 'https://animepahe.com/api?m=release&id= ... AnimePahe started providing fake kwik links in the api response ...
Read more >
Can someone explain how fake kissanime sites infect you with ...
I guess the main point is, other anime sites like 9anime or animeultima might have malware in their ads, if they aren't carefully...
Read more >
MAL-Sync Adult [FateXXXBlood Edition] - Source code
Integrates MyAnimeList/AniList/Kitsu/Simkl into various sites, with auto episode tracking. Install this script? How to install.
Read more >
filters.txt - jsDelivr
ADBLOCKWALL, false) ! https://github.com/uBlockOrigin/uAssets/issues/8360 spiele.bild.de##+js(nano-stb, ... script:has-text(\'shift\') animepahe.com,kwik.
Read more >
xxp-sites.txt - Crawler.Ninja
... 1,048 house.gov 1,049 norton.com 1,059 app.link 1,062 trueconf.net 1,063 ... 16,699 animepahe.ru 16,701 coachoutlet.com 16,712 laravel-news.com 16,714 ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found