Skip to content
This repository has been archived by the owner on Aug 1, 2022. It is now read-only.

The program crashes on anime selection #4

Closed
KapDecy opened this issue May 7, 2021 · 1 comment
Closed

The program crashes on anime selection #4

KapDecy opened this issue May 7, 2021 · 1 comment

Comments

@KapDecy
Copy link

KapDecy commented May 7, 2021

Hi, I'm trying to download "those snow white notes", but can't do that.
The program keeps giving me the same error:

D:\Users\Denis.HOME-PC>"C:/Program Files/Python38/python.exe" d:/documents/projects/crunchyroll-dl/crunchyroll_downloader.py
Choose an anime or enter a URL:

https://www.crunchyroll.com/ru/those-snow-white-notes
Traceback (most recent call last):
File "d:/documents/projects/crunchyroll-dl/crunchyroll_downloader.py", line 380, in
w_anime.get_info()
File "d:/documents/projects/crunchyroll-dl/crunchyroll_downloader.py", line 141, in get_info
playlist_info = self.playlist_ie._real_extract(self.config["url"])
File "C:\Program Files\Python38\lib\site-packages\youtube_dl\extractor\crunchyroll.py", line 665, in _real_extract
show_id = self._match_id(url)
File "C:\Program Files\Python38\lib\site-packages\youtube_dl\extractor\common.py", line 422, in _match_id
assert m
AssertionError

@Trigus42
Copy link
Owner

Trigus42 commented May 7, 2021

The extractor doesn't like the country tag in the URL. It uses regex matching to check if the URL is valid and the regex doesn't allow for /ru/, /de/ and so on.
Just remove it and it should work. However, I'll fix this soon.

@KapDecy KapDecy closed this as completed May 7, 2021
@Trigus42 Trigus42 pinned this issue Jun 1, 2021
Trigus42 added a commit that referenced this issue Jun 1, 2021
@Trigus42 Trigus42 unpinned this issue Jun 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants