Skip to content

Commit

Permalink
Don't match media-<id> as playlist, fixes #17065, fixes #17069
Browse files Browse the repository at this point in the history
  • Loading branch information
bato3 committed Jul 27, 2018
1 parent 0c7b4f4 commit b7e705c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion youtube_dl/extractor/crunchyroll.py
Expand Up @@ -580,7 +580,7 @@ def _real_extract(self, url):

class CrunchyrollShowPlaylistIE(CrunchyrollBaseIE):
IE_NAME = 'crunchyroll:playlist'
_VALID_URL = r'https?://(?:(?P<prefix>www|m)\.)?(?P<url>crunchyroll\.com/(?!(?:news|anime-news|library|forum|launchcalendar|lineup|store|comics|freetrial|login))(?P<id>[\w\-]+))/?(?:\?|$)'
_VALID_URL = r'https?://(?:(?P<prefix>www|m)\.)?(?P<url>crunchyroll\.com/(?!(?:news|anime-news|library|forum|launchcalendar|lineup|store|comics|freetrial|login|media-\d+))(?P<id>[\w\-]+))/?(?:\?|$)'

_TESTS = [{
'url': 'http://www.crunchyroll.com/a-bridge-to-the-starry-skies-hoshizora-e-kakaru-hashi',
Expand Down

0 comments on commit b7e705c

Please sign in to comment.