Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Wakanim] #1609

Closed
7 tasks done
Totorrr opened this issue Nov 10, 2021 · 3 comments · Fixed by #8604
Closed
7 tasks done

[Wakanim] #1609

Totorrr opened this issue Nov 10, 2021 · 3 comments · Fixed by #8604
Labels
site-bug Issue with a specific website

Comments

@Totorrr
Copy link

Totorrr commented Nov 10, 2021

Checklist

Region

No response

Description

On the wakanim website, I have trouble downloading videos, for example:

$ yt-dlp 'https://www.wakanim.tv/fr/v2/catalogue/episode/27775/fruits-basket-saison-3-episode-13-vostfr'    
[Wakanim] 27775: Downloading webpage
ERROR: [Wakanim] 27775: Unable to extract manifest url; please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; see  https://github.com/yt-dlp/yt-dlp  on how to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.; please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; see  https://github.com/yt-dlp/yt-dlp  on how to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.

It looks like the website has changed and yt-dlp is not working with it anymore.

Please see the log file.

Verbose log

[debug] Command-line config: ['-Uv', 'https://www.wakanim.tv/fr/v2/catalogue/episode/27775/fruits-basket-saison-3-episode-13-vostfr']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, err UTF-8, pref UTF-8
[debug] yt-dlp version 2021.11.10.1
[debug] Python version 3.7.3 (CPython 64bit) - Linux-5.10.0-0.bpo.8-amd64-x86_64-with-debian-10.11
[debug] exe versions: ffmpeg 4.3.1-8, ffprobe 4.3.1-8
[debug] Optional libraries: Cryptodome, mutagen, sqlite, websockets
[debug] Proxy map: {}
yt-dlp is up to date (2021.11.10.1)
[debug] [Wakanim] Extracting URL: https://www.wakanim.tv/fr/v2/catalogue/episode/27775/fruits-basket-saison-3-episode-13-vostfr
[Wakanim] 27775: Downloading webpage
ERROR: [Wakanim] 27775: Unable to extract manifest url; please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; see  https://github.com/yt-dlp/yt-dlp  on how to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.; please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; see  https://github.com/yt-dlp/yt-dlp  on how to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/yt_dlp/extractor/common.py", line 595, in extract
    ie_result = self._real_extract(url)
  File "/usr/lib/python3/dist-packages/yt_dlp/extractor/wakanim.py", line 50, in _real_extract
    group='url'))
  File "/usr/lib/python3/dist-packages/yt_dlp/extractor/common.py", line 1166, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
yt_dlp.utils.RegexNotFoundError: Unable to extract manifest url; please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; see  https://github.com/yt-dlp/yt-dlp  on how to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/yt_dlp/extractor/common.py", line 595, in extract
    ie_result = self._real_extract(url)
  File "/usr/lib/python3/dist-packages/yt_dlp/extractor/wakanim.py", line 50, in _real_extract
    group='url'))
  File "/usr/lib/python3/dist-packages/yt_dlp/extractor/common.py", line 1166, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
yt_dlp.utils.RegexNotFoundError: Unable to extract manifest url; please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; see  https://github.com/yt-dlp/yt-dlp  on how to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/yt_dlp/YoutubeDL.py", line 1311, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/yt_dlp/YoutubeDL.py", line 1336, in __extract_info
    ie_result = ie.extract(url)
  File "/usr/lib/python3/dist-packages/yt_dlp/extractor/common.py", line 621, in extract
    raise type(e)(e.msg, **kwargs)
yt_dlp.utils.RegexNotFoundError: [Wakanim] 27775: Unable to extract manifest url; please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; see  https://github.com/yt-dlp/yt-dlp  on how to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.; please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; see  https://github.com/yt-dlp/yt-dlp  on how to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.
@Totorrr Totorrr added site-bug Issue with a specific website triage Untriaged issue labels Nov 10, 2021
@pukkandan pukkandan removed the triage Untriaged issue label Nov 23, 2021
@pukkandan
Copy link
Member

Incapsula is blocking the webpage download 😢

@Totorrr
Copy link
Author

Totorrr commented Nov 23, 2021

@pukkandan any cookie, referer or other parameter we could pass to Incapsula for it to allow the download you think?

@Yavos
Copy link

Yavos commented Sep 21, 2023

Not that it would matter anymore since they'll stop their service soon, but here's a solution to that Incapsula problem:

  1. go to the website and start your developer tools in your favorite browser
  2. open a page for an episode or movie
  3. look in the network tab at the request of the actual website (first entry) and find request headers
  4. there's a header called "Cookie" with pretty long content containing lots of incap and other stuff - copy that
  5. add in command line to your request: --add-headers "Cookie:<content>" (in Firefox copying already included the Cookie: part)
  6. also add --cookies-from-browser and --user-agent string from your browser, just in case (I only tested that way)
  7. enjoy not downloading all the drm protected content (didn't have any luck so far - everything I tried has drm protection)

aalsuwaidi pushed a commit to aalsuwaidi/yt-dlp that referenced this issue Apr 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
site-bug Issue with a specific website
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants